CN111626700B - Color scheme determining method for plastic template, terminal and readable storage medium - Google Patents

Color scheme determining method for plastic template, terminal and readable storage medium Download PDF

Info

Publication number
CN111626700B
CN111626700B CN202010434548.2A CN202010434548A CN111626700B CN 111626700 B CN111626700 B CN 111626700B CN 202010434548 A CN202010434548 A CN 202010434548A CN 111626700 B CN111626700 B CN 111626700B
Authority
CN
China
Prior art keywords
color
value
chromaticity
plastic
chromaticity value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010434548.2A
Other languages
Chinese (zh)
Other versions
CN111626700A (en
Inventor
张盛锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengxian Boluo New Materials Co ltd
Zhengxian New Material Technology Guangdong Co ltd
Original Assignee
Zhengxian Boluo New Materials Co ltd
Zhengxian New Material Technology Guangdong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengxian Boluo New Materials Co ltd, Zhengxian New Material Technology Guangdong Co ltd filed Critical Zhengxian Boluo New Materials Co ltd
Priority to CN202010434548.2A priority Critical patent/CN111626700B/en
Publication of CN111626700A publication Critical patent/CN111626700A/en
Application granted granted Critical
Publication of CN111626700B publication Critical patent/CN111626700B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Spectrometry And Color Measurement (AREA)
  • Color Image Communication Systems (AREA)

Abstract

The invention discloses a color scheme determining method of a plastic template, which comprises the following steps of: obtaining a first chromaticity value of a plastic template, and determining a second chromaticity value matched with the first chromaticity value in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black and white chromaticity values, red and green chromaticity values and yellow Lan Sedu values; adjusting the second chromaticity value to obtain a plurality of color schemes to be determined; and determining the color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template. The invention also discloses a terminal and a readable storage medium. The plastic production equipment has lower cost loss.

Description

Color scheme determining method for plastic template, terminal and readable storage medium
Technical Field
The invention relates to the technical field of plastics, in particular to a quick color matching method, a terminal and a computer readable storage medium of a plastic template.
Background
The plastic is widely applied and is an indispensable component in household appliances, automobiles, mobile phones, PCs, medical appliances and lighting appliances. The plastic manufacturer needs to produce the plastic according to the demands of customers. However, before mass production of plastics, manufacturers need to make plastic templates, and confirm the plastic templates with customers to determine whether to use the manufactured plastic templates as models for mass production of plastics.
The color requirements of different fields on plastics are different. Thus, the verification of the plastic template is based essentially on the verification of the color of the plastic template. In the process of manufacturing the plastic sample, the plastic sample plate is subjected to color matching through the experience of workers, so that the plastic sample plate meeting the requirements of customers is manufactured. However, the experience of the worker is not necessarily accurate, and the appearance of a manufactured plastic template is not desirable to the customer, so that repeated manufacturing of the plastic template is required. The throughput of the equipment for preparing the plastic is large, and the throughput of the plastic template is extremely small, so that the equipment cost for manufacturing the plastic template once is large, and if the plastic template is repeatedly prepared for many times, the equipment cost is more lost.
Disclosure of Invention
The invention mainly aims to provide a quick color matching method, a terminal and a computer readable storage medium of a plastic template, and aims to solve the problem of high cost loss in plastic production and preparation.
In order to achieve the above object, the present invention provides a method for determining a color scheme of a plastic template, wherein the method for determining a preparation scheme of the plastic template includes the following steps:
obtaining a first chromaticity value of a plastic template, and determining a second chromaticity value matched with the first chromaticity value in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black and white chromaticity values, red and green chromaticity values and yellow Lan Sedu values;
adjusting the second chromaticity value to obtain a plurality of color schemes to be determined;
and determining the color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template.
In an embodiment, the step of adjusting the second chromaticity value to obtain a plurality of color schemes to be determined includes:
acquiring a preset adjustment value corresponding to a black-white chromaticity value, a red-green chromaticity value and a yellow Lan Sedu value;
Increasing the second chromaticity value according to each preset adjustment value to obtain a third chromaticity value, and reducing the second chromaticity value according to each preset adjustment value to obtain a fourth chromaticity value;
and determining a to-be-determined color scheme corresponding to the third chromaticity value and a corresponding to-be-determined color scheme of the fourth chromaticity value.
In an embodiment, the step of determining the color scheme to be determined corresponding to the third chromaticity value and the corresponding color scheme to be determined corresponding to the fourth chromaticity value includes:
determining a first pigment corresponding to the third chromaticity value and a mass ratio of the first pigment, and determining a second pigment corresponding to the fourth chromaticity value and a mass ratio of the second pigment;
and determining a color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the first pigment and the first pigment, and determining the color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the second pigment and the second pigment.
In an embodiment, the step of determining the color scheme to be determined corresponding to the third chromaticity value and the corresponding color scheme to be determined corresponding to the fourth chromaticity value includes:
And determining color schemes respectively matched with the third chromaticity value and the fourth chromaticity value in the database to serve as color schemes to be determined.
In an embodiment, the step of adjusting the second chromaticity value to obtain a plurality of color schemes to be determined includes:
determining increment values and decrement values corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value according to the second chromaticity value;
increasing the second chromaticity value according to each increment value to obtain a third chromaticity value, and reducing the second chromaticity value according to each decrement value to obtain a fourth chromaticity value;
and determining a to-be-determined color scheme corresponding to the third chromaticity value and a to-be-determined color scheme corresponding to the fourth chromaticity value.
In an embodiment, each color difference value between the chromaticity value of the color scheme to be determined and the second chromaticity value is smaller than a corresponding preset threshold value, and the color difference values include a black-white difference value, a red-green difference value and a yellow-blue difference value.
In an embodiment, the step of obtaining the chromaticity value of the plastic template includes:
the terminal receives a first chromaticity value of the plastic template sent by the light splitting detector, the light splitting detector is connected with the terminal, and the light splitting detector is used for detecting the chromaticity value of the plastic template.
In an embodiment, after the step of determining each color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template, the method further includes:
and displaying each target color scheme.
In order to achieve the above object, the present invention further provides a terminal, which is provided with a database, wherein the database stores color schemes corresponding to a plurality of plastic templates and chromaticity values of the color schemes, the terminal comprises a memory, a processor, and a color scheme determining program of the plastic templates stored in the memory and capable of being executed by the processor, and the color scheme determining program of the plastic templates realizes the steps of the rapid color matching method of the plastic templates as described above when being executed by the processor.
In order to achieve the above object, the present invention also provides a readable storage medium storing a color scheme determination program of a plastic template, which when executed by a processor, implements the respective steps of the color scheme determination method of a plastic template as described above.
According to the color scheme determining method, the terminal and the readable storage medium of the plastic template, the terminal obtains the first chromaticity value of the plastic template provided by a customer, determines the second chromaticity value matched with the first chromaticity value in the database, and adjusts the second chromaticity value to obtain the to-be-determined color scheme, so that the to-be-determined color scheme and the color scheme corresponding to the second chromaticity value are used as target color schemes of the plastic template. The color scheme of the prepared plastic template and the chromaticity value corresponding to the color scheme are stored in the terminal by the plastic manufacturer, so that the terminal can quickly and accurately determine the color scheme of the plastic required by the customer without matching the colors of the plastic required by the customer according to the experience of workers.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart of a first embodiment of a color scheme determining method for a plastic template according to the present invention;
FIG. 3 is a schematic diagram of a refinement process of step S200 in a second embodiment of the color scheme determination method of the plastic template of the present invention;
FIG. 4 is a schematic diagram of a refinement process of step S230 in a third embodiment of the color scheme determination method of the plastic template according to the present invention;
FIG. 5 is a schematic diagram of a refinement process of step S200 in a fourth embodiment of a color scheme determination method of a plastic template according to the present invention;
fig. 6 is a schematic diagram of a refinement flow of step S200 in a fifth embodiment of the color scheme determination method of the plastic template of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The main solutions of the embodiments of the present invention are: obtaining a first chromaticity value of a plastic template, and determining a second chromaticity value matched with the first chromaticity value in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black and white chromaticity values, red and green chromaticity values and yellow Lan Sedu values; adjusting the second chromaticity value to obtain a plurality of color schemes to be determined; and determining the color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template.
The color scheme of the prepared plastic template and the chromaticity value corresponding to the color scheme are stored in the terminal by the plastic manufacturer, so that the terminal can quickly and accurately determine the color scheme of the plastic required by the customer without matching the colors of the plastic required by the customer according to the experience of workers.
As shown in fig. 1, fig. 1 is a schematic hardware structure of a terminal according to an embodiment of the present invention.
As shown in fig. 1, the embodiment of the present invention relates to a terminal, where the terminal may include: a processor 1001, such as a CPU, a communication bus 1002, a memory 1003, and a database 1004. The communication bus 1002 is used for implementing connection communication between the components, and the database 1004 stores a color scheme of the plastic template and chromaticity values corresponding to the color scheme, where the chromaticity values include black-white chromaticity values, red-green chromaticity values, and yellow Lan Sedu values. The memory 1003 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1003 may alternatively be a storage device separate from the processor 1001 described above. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, a color scheme determination program of a plastic template may be included in a memory 1003 as a computer storage medium.
In the apparatus shown in fig. 1, the processor 1001 may be configured to call up a color scheme determination program of the plastic template stored in the memory 1003, and perform the following operations:
Obtaining a first chromaticity value of a plastic template, and determining a second chromaticity value matched with the first chromaticity value in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black and white chromaticity values, red and green chromaticity values and yellow Lan Sedu values;
adjusting the second chromaticity value to obtain a plurality of color schemes to be determined;
and determining the color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
acquiring a preset adjustment value corresponding to a black-white chromaticity value, a red-green chromaticity value and a yellow Lan Sedu value;
increasing the second chromaticity value according to each preset adjustment value to obtain a third chromaticity value, and reducing the second chromaticity value according to each preset adjustment value to obtain a fourth chromaticity value;
and determining a to-be-determined color scheme corresponding to the third chromaticity value and a corresponding to-be-determined color scheme of the fourth chromaticity value.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
determining a first pigment corresponding to the third chromaticity value and a mass ratio of the first pigment, and determining a second pigment corresponding to the fourth chromaticity value and a mass ratio of the second pigment;
and determining a color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the first pigment and the first pigment, and determining the color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the second pigment and the second pigment.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
and determining color schemes respectively matched with the third chromaticity value and the fourth chromaticity value in the database to serve as color schemes to be determined.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
determining increment values and decrement values corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value according to the second chromaticity value;
Increasing the second chromaticity value according to each increment value to obtain a third chromaticity value, and reducing the second chromaticity value according to each decrement value to obtain a fourth chromaticity value;
and determining a to-be-determined color scheme corresponding to the third chromaticity value and a to-be-determined color scheme corresponding to the fourth chromaticity value.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
and each color difference value between the chromaticity value of the color scheme to be determined and the second chromaticity value is smaller than a corresponding preset threshold value, and the color difference value comprises a black-white difference value, a red-green difference value and a yellow-blue difference value.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
the terminal receives a first chromaticity value of the plastic template sent by the light splitting detector, the light splitting detector is connected with the terminal, and the light splitting detector is used for detecting the chromaticity value of the plastic template.
In one embodiment, the processor 1001 may call the color scheme determination program of the plastic template stored in the memory 1003, and further perform the following operations:
And displaying the target color scheme.
According to the scheme, the terminal obtains the first chromaticity value of the plastic template provided by the client, determines the second chromaticity value matched with the first chromaticity value in the database, and adjusts the second chromaticity value to obtain the to-be-determined color scheme, so that the to-be-determined color scheme and the color scheme corresponding to the second chromaticity value are used as target color schemes of the plastic template. The color scheme of the prepared plastic template and the chromaticity value corresponding to the color scheme are stored in the terminal by the plastic manufacturer, so that the terminal can quickly and accurately determine the color scheme of the plastic required by the customer without matching the colors of the plastic required by the customer according to the experience of workers.
Based on the hardware framework of the terminal, the embodiment of the color scheme determining method of the plastic template is provided.
Referring to fig. 2, fig. 2 is a first embodiment of a color scheme determining method of a plastic template according to the present invention, the color scheme determining method of the plastic template includes the following steps:
step S100, a first chromaticity value of a plastic template is obtained, and a second chromaticity value matched with the first chromaticity value is determined in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black-white chromaticity values, red-green chromaticity values and yellow Lan Sedu values;
in this embodiment, the execution body is a terminal. The terminal can be intelligent equipment such as a computer and a mobile phone. The terminal is internally provided with a database, and the database stores a color matching scheme of the plastic template and a chromaticity value corresponding to the color matching scheme. The chromaticity values include a black-and-white chromaticity value L, a red-and-green chromaticity value a, and a yellow Lan Sedu value b. L represents illuminance (luminance), which corresponds to brightness, a represents a range from red to green, and b represents a range from yellow to blue. L has a value range from 0 to 120; the value ranges of a and b are from +120 to-120, wherein +120a is red, and the color becomes green when the color gradually transits to-120 a; likewise, +120b is yellow and-120 b is blue. All colors are composed of these three values that change interactively. The color scheme also comprises various pigments and mass ratios corresponding to the pigments, namely the chromaticity value of the plastic sample plate prepared by mixing the main materials with fixed mass according to the mass ratios corresponding to the pigments is the chromaticity value corresponding to the color scheme.
The main material is plastic particles, and the plastic particles can be of any color. The color scheme may thus contain the color of the plastic particles of the plastic template. The plastic particles can be of any color.
The terminal may be in communication with the spectroscopic detector. The light splitting detector is used for detecting a first color value of the plastic template provided by a customer. After the detection of the plastic template is completed, the light-splitting detector can display the chromaticity value or directly send the chromaticity value to the terminal, so that the terminal stores the first chromaticity value of the plastic template.
After obtaining the first chromaticity value, the terminal traverses chromaticity values of each color matching scheme in the database to search for a second chromaticity value matched with the first chromaticity value. The color difference value between the second color value and the first color value should be smaller than the preset color difference value. The color difference values include a black-white difference value Δl, a red-green difference value Δa, and yellow Lan Chazhi Δb. The color difference value DeltaL between the chromaticity value and the first chromaticity value of the color scheme is smaller than L 0 Delta a is less than a 0 And the yellow-blue difference Deltab is smaller than b 0 When the color scheme is used, the chromaticity value of the color scheme can be judged to be a second chromaticity value matched with the first chromaticity value, L 0 For presetting the black-white difference value, a 0 Is preset as a red-green difference value and b 0 The yellow-blue difference value is preset.
Step S200, adjusting the second chromaticity value to obtain a plurality of color schemes to be determined;
and step S300, determining the color scheme to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template.
In this embodiment, there is still a slight difference between the second chrominance value and the first chrominance value. Thus, the plastic template prepared according to the color scheme of the second chromaticity value is not necessarily the plastic required by the customer. In this way, the terminal can adjust the second chromaticity value, so as to obtain a plurality of color schemes to be determined. The adjustment of the second chromaticity value is the adjustment of the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value, and the adjustment amplitude is smaller, namely the adjustment of the second chromaticity value by the terminal is fine adjustment. The fine tuning may be characterized by each color difference between a chromaticity value of the color scheme to be determined and the second chromaticity value being less than a corresponding preset threshold, the color difference values including a black-white difference value, a red-green difference value, and a yellow-blue difference value.
The second chromaticity value may be fine-tuned a number of times, each fine-tuning resulting in a color scheme to be determined. And (3) performing one-time up-regulation and one-time down-regulation on the second chromaticity value to obtain two color schemes to be determined in view of cost. And the terminal determines the color scheme to be determined and the color scheme corresponding to the second chromaticity value as target color schemes, and displays each target color scheme, so that manufacturers prepare different plastic templates according to different target color schemes. And mixing various pigments in the target color scheme, the mass ratio corresponding to the various pigments and the pre-configured plastic particles by a plastic manufacturer to obtain a mixed material, and then placing the mixed material into plastic production equipment to prepare the plastic sample.
The plastic template prepared according to the color scheme after the down adjustment is a lower limit plastic template, the plastic template prepared according to the color scheme after the up adjustment is an upper limit plastic template, and the plastic template prepared according to the color scheme without adjustment is a middle limit plastic template.
In the technical scheme provided by the embodiment, a terminal acquires a first chromaticity value of a plastic template provided by a client, determines a second chromaticity value matched with the first chromaticity value in a database, and adjusts the second chromaticity value to obtain a to-be-determined color scheme, so that the to-be-determined color scheme and the color scheme corresponding to the second chromaticity value are used as target color schemes of the plastic template. The color scheme of the prepared plastic template and the chromaticity value corresponding to the color scheme are stored in the terminal by the plastic manufacturer, so that the terminal can quickly and accurately determine the color scheme of the plastic required by the customer without matching the colors of the plastic required by the customer according to the experience of workers.
Referring to fig. 3, fig. 3 is a second embodiment of a color scheme determining method of a plastic template according to the present invention, based on the first embodiment, the step S200 includes:
step S210, obtaining a preset adjustment value corresponding to a black-white chromaticity value, a red-green chromaticity value and a yellow Lan Sedu value;
step S220, increasing the second chromaticity value according to each preset adjustment value to obtain a third chromaticity value, and decreasing the second chromaticity value according to each preset adjustment value to obtain a fourth chromaticity value;
step S230, determining a color scheme to be determined corresponding to the third chromaticity value and a color scheme to be determined corresponding to the fourth chromaticity value.
In this embodiment, the terminal stores a preset adjustment value, where the preset adjustment value is an absolute value, and the preset adjustment value includes a preset adjustment value corresponding to a black-white color value, a preset adjustment value corresponding to a red-green color value, and a preset adjustment value corresponding to a yellow Lan Sedu value.
After determining the second chromaticity value, the terminal acquires a preset adjustment value, so that the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value in the second chromaticity value are correspondingly increased by the preset adjustment value, and a third chromaticity value is obtained; and then, the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value in the second chromaticity value are correspondingly reduced by preset adjustment values, so as to obtain a fourth chromaticity value.
And the terminal determines a to-be-determined color scheme corresponding to the third chromaticity value and a color scheme corresponding to the fourth chromaticity value.
In the technical solution provided in this embodiment, the terminal obtains preset adjustment values corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value, so as to obtain a third chromaticity value by increasing the second chromaticity value according to the preset adjustment values, and obtain a fourth chromaticity value by decreasing the second chromaticity value according to the preset adjustment values, so as to determine the color scheme to be determined corresponding to the third chromaticity value and the fourth chromaticity value.
Referring to fig. 4, fig. 4 is a third embodiment of a color scheme determining method of the plastic template according to the present invention, based on the second embodiment, the step S230 includes:
step S231, determining a mass ratio of the first pigment corresponding to the third chromaticity value to the first pigment, and determining a mass ratio of the second pigment corresponding to the fourth chromaticity value to the second pigment;
step S232, determining a color scheme to be determined corresponding to the third chromaticity value according to the first pigment and the mass ratio of the first pigment, and determining a color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the second pigment and the second pigment.
In this embodiment, a look-up table of black and white chromaticity values, red and green chromaticity values, and yellow Lan Sedu values to pigment, pigment mass ratio is stored in the terminal. Specifically, the values of the black-and-white chromaticity values are divided into a plurality of sections, each section of the black-and-white chromaticity value corresponds to the pigment and the pigment ratio, the values of the red-and-green chromaticity values are divided into a plurality of sections, and the values of the yellow-and-blue chromaticity values are divided into a plurality of sections, one section of the black-and-white chromaticity value, one section of the red-and-green chromaticity value, and one section of the yellow Lan Sedu value correspond to the pigment and the pigment mass ratio. After the terminal obtains the third chroma value, the terminal can determine the respective interval according to the black-white chroma value, the red-green chroma value and the yellow Lan Sedu value of the third chroma value, so as to determine the pigment and the mass ratio of the pigment in the lookup table according to the three intervals. An interval may be a range of values or may be a particular number. The lookup table is obtained by arranging pigment, pigment mass ratio and chromaticity value required by plastic manufacturer for preparing plastic, and the lookup table is stored in the terminal.
In this regard, after determining the third chromaticity value, the terminal may determine the first pigment and the mass ratio of the first pigment according to the third chromaticity value and the lookup table, where the first pigment is multiple, so as to form a color scheme to be determined corresponding to the third chromaticity value according to the mass ratios of the first pigments. And similarly, after the terminal determines the fourth chromaticity value, determining the mass ratio of the second pigment to the second pigment according to the fourth chromaticity value and the lookup table so as to form a color scheme to be determined corresponding to the fourth chromaticity value according to the mass ratio of each second pigment to the second pigment.
In the technical scheme provided by the embodiment, the lookup table of the mass ratio of the chromaticity value to the pigment is stored in the terminal, and the terminal can accurately determine the to-be-determined color scheme corresponding to the third chromaticity value and the fourth chromaticity value according to the third chromaticity value, the fourth chromaticity value and the lookup table.
Referring to fig. 5, fig. 5 is a fourth embodiment of a color scheme determining method of a plastic template according to the present invention, based on the second embodiment, the step S230 includes:
step S233, determining color schemes respectively matched with the third chromaticity value and the fourth chromaticity value in the database as the color schemes to be determined.
In this embodiment, after determining the third chroma value and the fourth chroma value, the terminal may determine a color matching scheme matching the third chroma value in the database, and determine a color matching scheme matching the fourth chroma value, and the specific determination scheme refers to a process of determining the color matching scheme matching the second chroma value in the database by the terminal, which is not described herein.
After determining the color matching schemes of the third chromaticity value and the fourth chromaticity value, the terminal can determine the matched color matching scheme as the color matching scheme to be determined.
In the technical scheme provided by the embodiment, the terminal determines the color matching schemes respectively matched with the third chromaticity value and the fourth chromaticity value in the database to serve as the color matching scheme to be determined, so that the target color matching scheme of the plastic template is accurately determined.
Referring to fig. 6, fig. 6 is a fifth embodiment of a color scheme determining method of a plastic template according to the present invention, based on the first embodiment, the step S200 includes:
step S240, determining an increment value and a decrement value corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value according to the second chromaticity value;
step S250, increasing the second chromaticity value according to each increment value to obtain a third chromaticity value, and decreasing the second chromaticity value according to each decrement value to obtain a fourth chromaticity value;
step S260, determining the color scheme to be determined corresponding to the third chromaticity value and the color scheme to be determined corresponding to the fourth chromaticity value.
In this embodiment, when the second chromaticity value is adjusted, the terminal needs to determine the adjustment amount according to the specific value of the second chromaticity value. Specifically, assuming that the black-and-white color value is 50, that is, the black-and-white color of the plastic is clear, even if the adjustment amount of the black-and-white color value is small, the black-and-white change of the plastic is obvious, so that the adjustment amount is small when the black-and-white color value is between 30 and 60, and the adjustment amount can be slightly large beyond 30 to 60. It is understood that the second chromaticity value is different in value and the adjustment amount is also different. The terminal stores the interval of each chromaticity value and the increment value and decrement value corresponding to the interval, the interval tends to be neutral color (the proportion of the two colors is not great, for example, black-white color, red-green color and yellow-blue color), and the increment value and decrement value are small. The interval tends to be of a certain color, and the increment value and the decrement value corresponding to the interval can be slightly larger, for example, the red-green chroma value is +100, and the increment value and the decrement value tend to be slightly larger, so that the change of the red shade on the plastic is not very large. It should be noted that, the absolute values of the increment value and the decrement value corresponding to the interval are smaller than the preset value, so as to ensure fine adjustment of the second chroma value.
The terminal determines the increment value and the decrement value corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value according to the second chromaticity value, so that the second chromaticity value is increased according to each increment value to obtain a third chromaticity value, the second chromaticity value is reduced according to each decrement value to obtain a fourth chromaticity value, and the third chromaticity value and the color scheme to be determined corresponding to the fourth chromaticity value are further determined. The determination of the color scheme to be determined is referred to the above description, and will not be described in detail here.
In the technical solution provided in this embodiment, the terminal determines, according to the second chromaticity value, an increment value and a decrement value corresponding to the black-white chromaticity value, the red-green chromaticity value and the yellow Lan Sedu value, so as to increase the second chromaticity value according to each increment value to obtain a third chromaticity value, and decrease the second chromaticity value according to each decrement value to obtain a fourth chromaticity value, thereby determining a to-be-determined color scheme corresponding to the third chromaticity value and a to-be-determined color scheme corresponding to the fourth chromaticity value.
In an embodiment, the terminal traverses the color scheme in the database, and stops traversing when the second chroma value matched with the first chroma value is found.
Specifically, the terminal traverses each color scheme according to the arrangement sequence of the color schemes in the database. The arrangement order may be the size of the number of the color scheme, or may be the morning and evening of the storage time of the color scheme. The terminal firstly selects a color matching scheme to be matched from a database as a current color matching scheme, and then calculates each color difference value between a first color value and the color value of the current color matching scheme, wherein each color difference value is a black-white color difference value delta L, a red-green color difference value delta a and a yellow Lan Chazhi delta b.
If each color difference value is smaller than the corresponding preset color difference value, namely DeltaL is smaller than L 0 Delta a is less than a 0 And the yellow-blue difference Deltab is smaller than b 0 And when the color difference value of the current color scheme is the second color value matched with the first color value. At this time, the terminal stops traversing the chromaticity values of the color schemes in the database.
If at least one color difference value is larger than or equal to the corresponding preset color difference value, the fact that the color value of the current color matching scheme is not matched with the first color value can be judged, and the terminal needs to traverse the color values of other color matching schemes which are not traversed in the database. In this regard, the terminal determines the current color scheme among the color schemes in the database that are not selected as the current color scheme, and then returns to execute the step of calculating each color difference value between the first color value and the color value of the current color scheme, thereby determining whether the color value of the current color scheme matches the first color value.
In an embodiment, the number of color schemes stored in the database is large, and the terminal traverses the chromaticity values of the color schemes one by one, so that the traversing time of the terminal is prolonged. In this regard, when the color scheme is stored, the chromaticity label of the color scheme may be determined from the chromaticity value of the color scheme.
Specifically, the terminal determines the value of the black-and-white chromaticity value L, and determines the label corresponding to the black-and-white chromaticity value according to the value, for example, if L is smaller than 50, the plastic sample plate is white, and if L is greater than or equal to 50, the plastic sample plate is black. The terminal determines the value of the red-green value a, and determines the label corresponding to the red-green value according to the value, for example, if a is a +value, the plastic sample plate is reddish, and if a is a-value, the plastic sample plate is greenish. Finally, the terminal determines the value of the red-green shade value b, and determines the label corresponding to the yellow-blue shade value according to the value, for example, if b is a +value, the plastic sample plate is yellow, and if b is a-value, the plastic sample plate is blue. The three labels constitute the chromaticity labels of the color scheme, e.g., the chromaticity labels are blackish, reddish and yellowish.
The terminal determines the first color label of the plastic template according to the first color value, and the determination mode of the first color label refers to the above description, and will not be described in detail here. The terminal searches a second chromaticity label matched with the first chromaticity label in the database, namely the first chromaticity label is the same as the second chromaticity label, so that color schemes corresponding to the second chromaticity labels are screened out from a plurality of color schemes to serve as color schemes to be matched, and the searching amount of the terminal is greatly reduced. And the terminal selects the current color matching scheme from the color matching schemes to be matched so as to determine a second chromaticity value matched with the first chromaticity value.
In the technical scheme provided by the embodiment, the terminal determines the first chromaticity label corresponding to the first chromaticity value, and determines the color matching scheme corresponding to the second chromaticity label matched with the first chromaticity label in the database as the color matching scheme to be matched, so that the workload of the terminal for searching the color matching scheme of the second chromaticity value matched with the first chromaticity value is greatly reduced.
In an embodiment, the terminal obtains a preset color difference value corresponding to the first color value, that is, the preset color difference value is L 0 、a 0 B 0 . The terminal determines a first preset color difference value at each preset color difference value. And the terminal determines a first color matching scheme meeting the first preset color difference value in the database, namely, determines the color matching scheme with the color difference value between the chromatic value and the first chromatic value smaller than the first preset color difference value as the first color matching scheme. For example, the first preset color difference value is L 0 The terminal will have all DeltaL smaller than L 0 Is determined as a first color scheme.
After determining the first color scheme, the terminal determines a second preset color difference value in the preset color difference values which are not selected as the first preset color difference value, and further determines a second color scheme meeting the second preset color difference value in the first color scheme. The second preset color difference value is different from the first preset color difference value, for example, the first preset color difference value is L 0 The second preset color difference value is a 0 Or b 0 . The first color scheme satisfying the second preset difference can be determined as the second color scheme, that is, the chromaticity value and the first color difference of the second color scheme are smaller than the second preset difference, for example, the second preset difference is a 0 Then Deltaa is less than a 0 The first color scheme of (2) is a second color scheme.
After determining the second color scheme, the terminal takes the last preset color difference value as the residual preset color difference value, so as to determine the second color scheme meeting the residual preset color difference value as a third color scheme. For example, the remaining preset color difference value is b 0 Then Deltab is less than b 0 The second color scheme of (2) is a third color scheme. And finally, determining the chromaticity value of the third color scheme as a second chromaticity value matched with the first chromaticity value.
It can be understood that the color difference value between the chromaticity value and the first chromaticity value of the color scheme is smaller than the preset color difference value, so that the color scheme can be determined to meet the preset color difference value.
In one embodiment, the terminal matches the first chromaticity value with each color scheme in the database to determine respective color schemes for which the first chromaticity value matches.
And the terminal displays all the matched color schemes and the chromaticity values of the color schemes, so that manufacturers check the color schemes and the chromaticity values of the color schemes. The manufacturer can compare the first chromaticity value of the plastic template with each chromaticity value displayed, so as to select a target color scheme from a plurality of color schemes.
Each color scheme displayed by the terminal is provided with a corresponding selection button, and if the selection button is detected to be clicked, the selection operation of the color scheme can be regarded as being detected. The terminal determines the chromaticity value of the color scheme corresponding to the selected operation as a second chromaticity value matched with the first chromaticity value, namely the chromaticity value of the color scheme of the selected key to be clicked is used as the second chromaticity value matched with the first chromaticity value.
In one embodiment, the terminal may calculate the total color difference value based on the black-and-white difference value, the red-and-green difference value, and the yellow-and-blue difference value. Specifically, the total color difference value ΔE 2 =△L 2 +△a 2 +△b 2 That is, the preset formula is delta E 2 =△L 2 +△a 2 +△b 2 . After obtaining each color difference value corresponding to the second chromaticity value, the terminal brings each color difference value into a preset formula, so as to calculate and obtain the total color difference value corresponding to the second chromaticity value.
The magnitude of the total color difference value can reflect the difference between the plastic template stored in the database and the plastic template provided by the client, and the larger the total color difference value is, the more obvious the difference between the two is. The terminal can determine the color scheme corresponding to the second chromaticity value smaller than the preset total color difference value as the target color scheme of the plastic template.
In one embodiment, people are more sensitive to black and white colors. Therefore, the terminal needs to combine the black-white difference value and the total color difference value to determine the target color scheme of the plastic template.
Specifically, after determining the total color difference value corresponding to each second color value, the terminal determines each first color matching scheme with the total color difference value smaller than the preset total color difference value. The terminal determines black-white color difference values corresponding to the first color matching schemes, and further determines whether the black-white color difference values are smaller than the first color matching schemes of the preset black-white difference values or not as target color matching schemes corresponding to the plastic sample plates. It can be understood that the total color difference between the chromaticity value of the target color scheme and the chromaticity value of the plastic template is smaller than the preset total color difference, and the black-white color difference is smaller than the preset black-white color difference.
In one embodiment, people are more sensitive to black and white colors. Therefore, the terminal needs to combine the black-white difference value and the total color difference value to determine the target color scheme of the plastic template.
Specifically, after determining the total color difference value corresponding to each second chromaticity value, the terminal determines each second color matching scheme that the black-white difference value is smaller than the preset black-white difference value. And the terminal determines a second color matching scheme with the total color difference value smaller than the preset total color difference value as a target color matching scheme corresponding to the plastic template. It can be understood that the total color difference between the chromaticity value of the target color scheme and the chromaticity value of the plastic template is smaller than the preset total color difference, and the black-white color difference is smaller than the preset black-white color difference.
In an embodiment, the terminal determines a minimum total color difference value among the respective total color difference values. And the terminal judges whether the minimum total color difference value is smaller than a preset total color difference value.
If the minimum total color difference value is smaller than the preset total color difference value, determining the color matching scheme corresponding to the minimum total color difference value as the target color matching scheme of the plastic template, and determining the color matching scheme which is the smallest in difference with the plastic template as the target color matching scheme of the plastic template.
In one embodiment, the customer has other performance requirements in addition to the color requirements of the plastic. For example, customers require that the plastic be translucent, transparent, or opaque; or the customer requires the hardness of the plastic to reach more than the preset hardness; alternatively, the customer may require the plastic to be rough or clean. I.e. the performance requirements include at least one of hardness requirements, transparency requirements, finish requirements and concealer requirements.
The plastic manufacturer can input the performance requirement of the customer and the customer number into the terminal for associated storage, and the customer number is consistent with the number of the plastic template. After the second chromaticity value is determined, the performance requirement of the stored customer can be obtained according to the number of the plastic template providing the first chromaticity value.
After the terminal determines the second chromaticity value, the terminal determines a color scheme corresponding to the second chromaticity value. And the terminal determines the mass ratio of the ingredients according to the performance requirements. For example, if the performance requirement contains a concealer requirement, the ingredients are titanium dioxide, and the greater the concealer, the greater the mass ratio of titanium dioxide. The terminal can form a preparation scheme of the plastic template according to the mass ratio of the main materials, the ingredients and the pigment, so that a plastic manufacturer can prepare the plastic template according to the preparation scheme.
In one embodiment, the performance requirement may be a relatively fuzzy requirement. For example, the customer only requires transparency, opacity, or translucency for transparency. I.e. the terminal can determine the mass ratio of the ingredients according to the high, medium and low performance requirements. Different performance requirements correspond to different ingredients. For example, concealer requires that the corresponding ingredient be titanium dioxide. And the quality ratio corresponding to the high, medium and low of the performance requirement is sequentially reduced.
In addition, the customer requires that the plastics produced by the plastics manufacturer be of different possible uses, and that the performance requirements be different. For example, plastic is used as the outer shell, and the performance requirements are high smoothness and concealing; for another example, plastic is used as a flange for equipment, and the performance requirements are corrosion resistance, low for finish, and no concealer requirements. It is understood that the performance requirement can be the purpose of the plastic, and the terminal determines the ingredients of the plastic sample plate and the mass ratio of the ingredients according to the purpose; namely, the terminal stores a mapping relation table of plastic application, ingredients and the mass ratio of the ingredients, and the ingredients and the mass ratio of the ingredients of the plastic template can be determined through the plastic application as the performance requirement.
The main material of the plastic template is plastic particles, and the mass ratio of the main material is generally a fixed value and cannot be changed. The terminal obtains the mass ratio of the main materials of the plastic template, so that a preparation scheme of the plastic template is formed according to the ingredients, the mass ratio of the main materials and the color matching scheme corresponding to the second chromaticity value.
In one embodiment, the performance requirements have corresponding performance parameters. For example, if the hardness of the plastic is required to be higher than a certain hardness, the hardness is a performance parameter corresponding to the performance requirement. It is understood that the performance requirements include performance parameters that are provided, or that the performance requirements include performance parameters of the plastic that can be determined. For example, the performance requirement is that the plastic is transparent, and the terminal can determine the performance parameters of the plastic according to the transparency.
The terminal analyzes according to the input performance requirements, so as to determine the performance parameters corresponding to the performance requirements. The database of the terminal stores a look-up table of performance parameters, ingredients and mass ratios of the ingredients. And the terminal determines the performance parameters, namely, the ingredients and the mass ratio of the ingredients can be searched in the lookup table according to the performance parameters, and the searched ingredients and the mass ratio of the ingredients form an ingredient scheme. Of course, various dosing schemes can be stored in the terminal, and the dosing schemes have corresponding performance parameters; if the difference between the performance parameters of the batching scheme and the performance parameters of the performance requirements is smaller than the preset difference, the batching scheme is a color matching scheme matched with the performance parameters of the performance requirements.
After the batching scheme is determined, the terminal forms a preparation scheme of the plastic template according to the batching scheme, the color scheme and the mass ratio of the main materials.
In one embodiment, since the plastic production equipment has a lower limit on the amount of plastic produced, the material from which the plastic template is made reaches the lower limit, and the plastic production equipment can be started to produce the plastic template. And more than ten plastic templates can be produced by the primary material, and the performance parameters of each plastic template are basically consistent. Therefore, the plastic manufacturer will stock the remaining plastic templates after each production of the plastic templates. In this way, the plastic manufacturer numbers the plastic templates in stock, stores the preparation schemes and numbers corresponding to the plastic templates in the terminal, and if other clients have the same requirements, provides the plastic templates in stock for the clients without preparing the plastic templates.
In this regard, after determining the target preparation scheme, the terminal searches the database for a preparation scheme that matches the target preparation scheme. Specifically, the terminal firstly determines a first ingredient and a first pigment in a target preparation scheme, and then brushes out the first preparation scheme with the first pigment and the first ingredient in a database; the terminal still further determines a first mass ratio of the first furnish and a second mass ratio of the first pigment; and finally, the terminal determines whether the preparation schemes close to the first mass ratio and the second mass ratio exist in each first preparation scheme, and if so, the terminal can judge that the preparation schemes matched with the target preparation schemes are stored in the database. The approximate first mass ratio and the second mass ratio are: the difference between the mass ratio of the pigment of the preparation scheme and the mass ratio of the first pigment in the database is less than a preset mass ratio difference, and the difference between the mass ratio of the ingredients of the preparation scheme and the mass ratio of the first ingredient in the database is less than a preset mass ratio difference. When the terminal judging database stores the preparation schemes matched with the target preparation schemes, the number of the matched preparation scheme is obtained, and the plastic template corresponding to the number is output as the prompting information of the plastic template corresponding to the plastic template, namely, a plastic manufacturer is prompted to adopt the stock plastic template corresponding to the number as the plastic template corresponding to the plastic template provided by a customer.
And when the preparation scheme matched with the target preparation scheme is not stored in the terminal judging database, outputting the target preparation scheme for a manufacturer to prepare the plastic template corresponding to the plastic template based on the target preparation scheme.
In one embodiment, a portion of the plastic template remains after the plastic manufacturer produces the plastic template according to the target manufacturing scheme. The plastic manufacturer will number it and at the same time, will input the number into the terminal.
In the technical scheme provided by the embodiment, the terminal acquires the input number and takes the number as the number corresponding to the target preparation scheme, so that the target preparation scheme and the number are stored in a database in a correlated manner, and a manufacturer can conveniently adopt a plastic template corresponding to the target preparation scheme to provide other clients with the same plastic requirement.
In one embodiment. The light splitting detector is used for detecting a second chromaticity value of the plastic sample plate. After the detection of the plastic sample plate is completed, the light splitting detector can display the second chromaticity value or directly send the second chromaticity value to the terminal, so that the terminal stores the second chromaticity value of the plastic sample plate.
It should be noted that the plastic template is prepared by a manufacturer according to a target color scheme determined by a first chromaticity value of the plastic template provided by a customer. The terminal stores color schemes corresponding to the various plastic templates and chromaticity values corresponding to the color schemes, and determines a target color scheme of the plastic templates according to the chromaticity values of the plastic templates, so that the plastic templates are prepared according to the target color scheme.
After acquiring the second chromaticity value, the terminal calculates the total chromaticity difference value between the second chromaticity value and the first chromaticity value. Specifically, the terminal firstly determines a black-white difference value, a red-green difference value and a yellow-blue difference value between the second chromaticity value and the first chromaticity value; the total color difference between the second chromaticity value and the first chromaticity value is determined based on the black-white difference, the red-green difference, and the yellow-blue color difference. The color difference values include a black-white difference value Δl, a red-green difference value Δa, and yellow Lan Chazhi Δb. Total colour difference delta E 2 =△L 2 +△a 2 +△b 2 And after obtaining each color difference value between the second chromaticity value and the first chromaticity value, the terminal brings each color difference value into a formula, so as to calculate and obtain the total color difference value between the second chromaticity value and the second chromaticity value.
The size of the total color difference value can reflect the difference between the prepared plastic template and the plastic template provided by the customer, and the larger the total color difference value is, the more obvious the difference between the two is. After the total color difference value is calculated, judging whether the total color difference value is larger than a preset total color difference value, if so, judging that the difference between the prepared plastic template and the plastic template provided by the client is larger, namely that the plastic template is failed to prepare. And the terminal acquires each to-be-determined color scheme corresponding to the target color scheme. The target color scheme and each color scheme to be determined are each color scheme corresponding to a third color value matched with the first color value of the plastic template in the database, and the manufacturer prepares the plastic template by taking one of the matched color schemes as the target color scheme. If the currently prepared plastic template fails, adopting other determined color schemes to prepare the plastic template.
And the terminal redetermines the target color scheme in the color schemes to be determined. It should be noted that the redetermined target color scheme is different from the previous target color scheme, that is, each color scheme to be determined does not include the color scheme of the currently prepared plastic template. And after the terminal redetermines the target color scheme, outputting the redetermined target color scheme for a manufacturer to prepare a plastic template according to the redetermined target color scheme.
In an embodiment, after storing each color scheme to be determined, the terminal configures a corresponding priority for each color scheme to be determined. In particular, each of the color schemes to be determined produces a plastic template that is theoretically less distinguishable from the plastic template. The difference between the plastic template and the plastic template is determined by the total color difference value and the black-white color difference value between the plastic template and the plastic template, so that the weight corresponding to the total color difference value and the black-white color difference value is given, and the black-white color difference value and the total color difference value of the color scheme to be determined are weighted according to the weight, so that the reference score of each color scheme to be determined is obtained. The smaller the reference score, the smallest the difference between the plastic template and the plastic template can be indicated. And the terminal carries out the priority of the color scheme to be determined according to the reference score, and the smaller the reference score is, the higher the priority of the color scheme to be determined is.
And after determining the priority of each color scheme to be determined, the terminal stores the color scheme to be determined and the priority in an associated manner. When the plastic template prepared by the target color scheme is greatly different from the plastic template, the terminal acquires each color scheme to be determined, and acquires the priority of each color scheme to be determined, so that the color scheme to be determined with the highest priority is redetermined as the target color scheme, and the plastic template is redefined.
In one embodiment, a customer provides a plastic template to a manufacturer, and a first color value of the plastic template is obtained by a spectroscopic detector. And the terminal stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes.
And the terminal determines a color matching scheme matched with the first chromaticity value in the database, and adjusts the second chromaticity value of the color matching scheme to obtain a plurality of color matching schemes to be determined. And outputting the color matching scheme to be determined and the color matching scheme corresponding to the chromaticity value by the terminal, so that a manufacturer prepares a corresponding plastic template for each output color matching scheme.
It should be noted that the magnitude of the total color difference value can reflect the difference between the plastic template stored in the database and the plastic template provided by the customer, and the larger the total color difference value is, the more obvious the difference between the two is. Therefore, the total color difference value between the chromaticity value and the first chromaticity value of each color scheme output by the terminal is smaller than the preset total color difference value, that is, the total color difference value between the color difference value of the prepared plastic template and the color difference value of the plastic template is smaller than the preset total color difference value, and it can be understood that the color difference between the prepared plastic template and the plastic template is very small.
After preparing a plurality of plastic templates, placing the plastic templates and performance data of the plastic templates into a sample feeding file, wherein the performance data comprise chromaticity values, hardness, transparency, smoothness and concealing parameters of the plastic templates. The manufacturer distributes the sample file to the customer, so that the customer confirms according to the plastic sample plate in the sample file and the performance parameters of the plastic sample plate. After the customer confirms, the confirmation information is filled in the confirmation area of the sample file, and the confirmed sample file is returned to the manufacturer.
The terminal determines the target plastic template confirmed by the customer in the sample file. The terminal can determine the target plastic template according to the confirmation information in the sample sending file input by the manufacturer. In addition, the terminal has an optical character recognition function. The terminal collects images of the plastic template confirmation area in the sample feeding file, so that binarization processing is carried out on the images, the binarized images are identified through an optical character identification function to identify text information in the images, and therefore the target plastic template is determined according to the text information.
In one embodiment, the customer has other performance requirements in addition to the color requirements of the plastic. For example, customers require that the plastic be translucent, transparent, or opaque; or the customer requires the hardness of the plastic to reach more than the preset hardness; alternatively, the customer may require the plastic to be rough or clean. I.e. the performance requirements include at least one of hardness requirements, transparency requirements, finish requirements and concealer requirements.
The plastic manufacturer can input the performance requirement of the customer and the customer number into the terminal for associated storage, and the customer number is consistent with the number of the plastic template. After determining the first chromaticity value of the plastic template, the terminal can acquire the performance requirement of the stored customer according to the serial number of the plastic template providing the first chromaticity value. And the terminal determines ingredients and the mass ratio of the ingredients according to the performance requirements so as to form an ingredient scheme, and stores the ingredient scheme. For example, if the performance requirement contains a concealer requirement, the ingredients are titanium dioxide, and the greater the concealer, the greater the mass ratio of titanium dioxide.
After the terminal determines the target plastic template, the terminal obtains the color scheme matched with the plastic template and the stored color scheme, and then determines the identity of the client. The identity may be the name, code, etc. of the customer. Specifically, each sample file has a corresponding number, and the number can be the identity of the client. The terminal collects the number of the sample file through the camera, so that the identity of the client is determined according to the number. And finally, the terminal stores the color scheme, the batching scheme and the identity mark in an associated way.
In one embodiment, the detection system comprises a detection platform, an image acquisition module and a terminal. The terminal is the control center. The detection platform is used for placing the plastic finished product provided by the customer, and the image acquisition module user acquires the image of the plastic finished product. The image acquisition module can be a camera and can rotate to acquire images of plastic products from different angles.
The manufacturer can place the plastic finished product on the detection platform and input the detection instruction on the terminal. At this time. The terminal starts an image acquisition module to acquire an image of the detection platform and identifies the image to determine whether a plastic finished product is placed on the detection platform. If the plastic finished product is placed on the detection platform, the terminal controls the image acquisition module to acquire images of the plastic finished product at different acquisition angles. The acquisition angles are angles between the plane of the camera of the image acquisition module and the plane of the detection platform, each acquisition angle is a preset acquisition angle, and the terminal obtains images of plastic finished products under different acquisition angles.
After the terminal obtains a plurality of images, the terminal extracts plastic finished products from each image through built-in image extraction software, and the extracted plastic finished products are spliced based on the acquisition angles corresponding to different images, so that a space model of the plastic finished products is constructed. In addition, when the plastic finished product is detected to be positioned on the detection platform, a client corresponding to the plastic finished product is determined, so that whether a space model of the plastic finished product provided by the client is stored in the system is determined. If not, controlling the image acquisition module to acquire images of the plastic finished product at different acquisition angles so as to form a space model of the plastic finished product. If yes, directly extracting the space model of the plastic finished product provided by the customer.
After the terminal obtains the space model of the plastic finished product, the region with smaller flatness of the plastic finished product can be analyzed from the space model, and the region with smaller flatness is determined as the intercepting region. The distance between the plane formed by the boundary of the intercepting region and the point on the intercepting region is smaller than the preset distance, namely the planeness of the representing intercepting region is smaller. Specifically, the terminal can construct three-dimensional space coordinates by taking the detection platform as a reference plane, and then convert the coordinates of each pixel point of the plastic product in the image into the three-dimensional space coordinates through a conversion formula between the pixel coordinates and the real coordinates, namely, each point on the space model of the plastic product has corresponding space coordinates. The terminal can determine the intercepting region according to the space coordinates of each point on the space model. For example, the terminal acquires all points with the same height on the space model, the points form a plane, the points of the space model higher than the plane form a region, and the distance between the highest point in the region and the plane is smaller than the preset distance, so that the flatness of the region is smaller and the region can be used as a cutting region.
The space model is practically equivalent to the plastic product on the inspection platform. After determining the intercepting region, the terminal can determine each point of the boundary of the intercepting region, and each point has corresponding space coordinates. The terminal may be provided with a transmitter of monochromatic visible light, and the transmitter may be movable, and the terminal marks the interception area by controlling the movement of the transmitter to transmit the monochromatic visible light to the spatial coordinates of each point. The terminal can be provided with a plurality of transmitters, and the intercepting area is marked by emitting monochromatic visible light through each transmitter, so that a detection person can mark the entity of the area on the plastic finished product according to the monochromatic visible light, namely mark the intercepting area in a scribing way, and intercept the plastic template on the intercepting area.
In one embodiment, the terminal selects three reference points from the points on the space model representing the plastic product, the three reference points are not on the same straight line, that is, the three reference points are connected to form a plane, and the plane is defined as a reference plane.
And the terminal connects the three datum points to obtain a datum plane, and cuts the space model along the datum plane to obtain a region corresponding to the datum point, wherein the region forms a curved surface.
The terminal determines the spatial coordinates of each point on the area, and the determination method of the spatial coordinates refers to the above description, and will not be described in detail here. The terminal determines the space coordinates of each point on the reference plane according to the space coordinates of the three reference points at the same time, so that the distance between each point on the area and the reference plane, which refers to the height of the point relative to the reference plane, can be calculated.
And the terminal acquires the maximum distance and judges whether the maximum distance is smaller than or equal to the preset distance.
When the maximum distance is smaller than or equal to the preset distance, the flatness of the area can be judged to be close to zero, namely the area can be used as a cutting area to cut the plastic template.
When the maximum distance is larger than the preset distance, the flatness of the area can be judged to be larger, and the area is not suitable for cutting out the plastic template. In this regard, the terminal reselects three reference points among the points on the spatial model, and the reference plane formed by the reselected reference points cannot be parallel to or overlap with the previous reference plane. So that the terminal again determines the cut-out area on the finished plastic product.
It should be noted that, the plastic template needs to cover the small hole of the spectroscope, so the area of the intercepting area used for intercepting the plastic template needs to be larger than the preset area, and the preset area is larger than the area of the small hole. Therefore, when determining the three reference points, the reference plane formed by the three reference points needs to be larger than the preset area, so that the area of the intercepting area is larger than the preset area (the intercepting area is a curved surface, and the area of the curved surface is larger than the reference plane). In addition, in order to facilitate the terminal to calculate the area of the reference plane, the three reference points selected by the terminal form a right triangle, the right triangle has a unique circumcircle, and the external interface forms the reference plane (the boundary point on the reference plane is the point on the space model). Therefore, the hypotenuse of the right triangle is the diameter of the circumscribed circle, the area of the circumscribed circle can be calculated through the diameter, namely the length of the hypotenuse of the right triangle limited by the terminal is larger than or equal to the preset length, and the preset length is determined according to the preset area.
The invention also provides a terminal which is provided with a database, wherein the database stores color schemes corresponding to various plastic templates and chromaticity values of the color schemes, the terminal comprises a memory, a processor and a color scheme determining program of the plastic templates, wherein the color scheme determining program of the plastic templates is stored in the memory and can be run on the processor, and the steps of the rapid color matching method of the plastic templates are realized when the color scheme determining program of the plastic templates is executed by the processor.
The present invention also provides a readable storage medium storing a color scheme determination program of a plastic template, which when executed by a processor, implements the steps of the color scheme determination method of a plastic template as described in the above embodiments.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. The color scheme determining method for the plastic template is characterized by comprising the following steps of:
Obtaining a first chromaticity value of a plastic template, and determining a second chromaticity value matched with the first chromaticity value in a database, wherein the database stores color schemes of various plastic templates and chromaticity values corresponding to the color schemes, and the chromaticity values comprise black and white chromaticity values, red and green chromaticity values and yellow Lan Sedu values;
adjusting the second chromaticity value to obtain a plurality of color schemes to be determined;
determining each color scheme to be determined and the color scheme corresponding to the second chromaticity value as a target color scheme of the plastic template corresponding to the plastic template;
the step of adjusting the second chromaticity value to obtain a plurality of color schemes to be determined includes:
determining increment values and decrement values corresponding to black-white chromaticity values, red-green chromaticity values and yellow Lan Sedu values according to the second chromaticity values, wherein the terminal stores intervals of the chromaticity values and the increment values and the decrement values corresponding to the intervals;
increasing the second chromaticity value according to each increment value to obtain a third chromaticity value, and reducing the second chromaticity value according to each decrement value to obtain a fourth chromaticity value;
And determining a to-be-determined color scheme corresponding to the third chromaticity value and a to-be-determined color scheme corresponding to the fourth chromaticity value.
2. The method for determining a color scheme of a plastic template according to claim 1, wherein the step of determining the color scheme to be determined corresponding to the third chromaticity value and the color scheme to be determined corresponding to the fourth chromaticity value includes:
determining a first pigment corresponding to the third chromaticity value and a mass ratio of the first pigment, and determining a second pigment corresponding to the fourth chromaticity value and a mass ratio of the second pigment;
and determining a color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the first pigment and the first pigment, and determining the color scheme to be determined corresponding to the third chromaticity value according to the mass ratio of the second pigment and the second pigment.
3. The method for determining a color scheme of a plastic template according to claim 1, wherein the step of determining the color scheme to be determined corresponding to the third chromaticity value and the color scheme to be determined corresponding to the fourth chromaticity value includes:
and determining color schemes respectively matched with the third chromaticity value and the fourth chromaticity value in the database to serve as color schemes to be determined.
4. A method of determining a color scheme for a plastic template according to any one of claims 1-3 wherein each color difference between a chromaticity value of the color scheme to be determined and the second chromaticity value is less than a corresponding predetermined threshold, the color difference values including a black-white difference, a red-green difference, and a yellow-blue difference.
5. A method of determining a color scheme for a plastic template according to any one of claims 1-3 wherein the step of obtaining a chromaticity value of the plastic template comprises:
the terminal receives a first chromaticity value of the plastic template sent by the light splitting detector, the light splitting detector is connected with the terminal, and the light splitting detector is used for detecting the chromaticity value of the plastic template.
6. A method for determining a color scheme of a plastic template according to any one of claims 1-3, wherein after the step of determining each of the color schemes to be determined and the color scheme corresponding to the second chromaticity value as the target color scheme of the plastic template corresponding to the plastic template, the method further comprises:
and displaying each target color scheme.
7. A terminal, characterized in that the terminal is provided with a database, wherein the database stores color schemes corresponding to a plurality of plastic templates and chromaticity values of the color schemes, the terminal comprises a memory, a processor and a color scheme determining program of the plastic templates, wherein the color scheme determining program of the plastic templates is stored in the memory and can be run by the processor, and the steps of the rapid color matching method of the plastic templates are realized when the color scheme determining program of the plastic templates is executed by the processor.
8. A readable storage medium, wherein the readable storage medium stores a color scheme determination program for a plastic template, which when executed by a processor, implements the steps of the color scheme determination method for a plastic template according to any one of claims 1-6.
CN202010434548.2A 2020-05-19 2020-05-19 Color scheme determining method for plastic template, terminal and readable storage medium Active CN111626700B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434548.2A CN111626700B (en) 2020-05-19 2020-05-19 Color scheme determining method for plastic template, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434548.2A CN111626700B (en) 2020-05-19 2020-05-19 Color scheme determining method for plastic template, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111626700A CN111626700A (en) 2020-09-04
CN111626700B true CN111626700B (en) 2023-06-16

Family

ID=72271914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434548.2A Active CN111626700B (en) 2020-05-19 2020-05-19 Color scheme determining method for plastic template, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111626700B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003034762A (en) * 2001-07-24 2003-02-07 Kansai Paint Co Ltd Method for toning of coating having lustrous shining
CN104572911A (en) * 2014-12-26 2015-04-29 浙江理工大学 Pre-spinning-colored fiber color testing and matching method
CN104714451A (en) * 2015-03-10 2015-06-17 无锡市崇安区科技创业服务中心 Automobile paint automatic color matching system
CN110163217A (en) * 2019-01-18 2019-08-23 腾讯科技(深圳)有限公司 Method, apparatus and computer-readable storage medium for auxiliary of matching colors or match colors
CN110232253A (en) * 2019-06-20 2019-09-13 杭州时趣信息技术有限公司 Generate computer installation, equipment, storage medium and the method for clothing matching scheme

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003034762A (en) * 2001-07-24 2003-02-07 Kansai Paint Co Ltd Method for toning of coating having lustrous shining
CN104572911A (en) * 2014-12-26 2015-04-29 浙江理工大学 Pre-spinning-colored fiber color testing and matching method
CN104714451A (en) * 2015-03-10 2015-06-17 无锡市崇安区科技创业服务中心 Automobile paint automatic color matching system
CN110163217A (en) * 2019-01-18 2019-08-23 腾讯科技(深圳)有限公司 Method, apparatus and computer-readable storage medium for auxiliary of matching colors or match colors
CN110232253A (en) * 2019-06-20 2019-09-13 杭州时趣信息技术有限公司 Generate computer installation, equipment, storage medium and the method for clothing matching scheme

Also Published As

Publication number Publication date
CN111626700A (en) 2020-09-04

Similar Documents

Publication Publication Date Title
KR20030089485A (en) Color designating server, color ordering system, color designating method, color ordering method and its program
US8634640B2 (en) Method and apparatus for selecting a color palette
US8456694B2 (en) System and method for proofing a page for color discriminability problems based on color names
US5798943A (en) Apparatus and process for a digital swatchbook
JP5968070B2 (en) Color processing apparatus and color adjustment method
JP2005503594A (en) System and method for selecting colors to harmonize
US20090213392A1 (en) Printing control device, printing system and printing control program
US20180158124A1 (en) Determining and Producing Customized Paint Colors
KR101774412B1 (en) Make-up Color Diagnosis Method Customized by Skin color and Make-up Color Diagnosis Device Customized by Skin color
US20040111435A1 (en) System for selecting and creating composition formulations
CN111610152B (en) Plastic template intercepting method, detecting system and computer readable storage medium
KR20020053745A (en) Server and method for designating colors, ordering system and ordering method for designating color and receiving orders, and computer readable medium
CN111626700B (en) Color scheme determining method for plastic template, terminal and readable storage medium
CN111626697B (en) Color scheme determining method for plastic template, terminal and readable storage medium
CN111626699B (en) Preparation scheme determining method for plastic template, terminal and readable storage medium
CN111626695B (en) Verification method for plastic template, terminal and computer readable storage medium
JP4524701B2 (en) Coloring material blending rate calculating device, method and program thereof
JP4636071B2 (en) Color material selection assisting device, method and program
EP3944093A1 (en) Paint color search device
CN114174785A (en) Method and system for matching and adjusting the pigmentation of a sample coating to a target coating
WO2016052227A1 (en) Device and method for proposing coordinated outfit
CN111626696A (en) Rapid color matching method of plastic sample plate, terminal and computer readable storage medium
KR20180016359A (en) Tanning apparatus and coloring method of repair paint
CN111626698A (en) Method for confirming plastic sample plate, terminal and computer readable storage medium
JP6285837B2 (en) Measurement position presentation method, measurement position presentation guide manufacturing method, and printed matter measurement method

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
TA01 Transfer of patent application right

Effective date of registration: 20230302

Address after: 17/F, Tongjin Business Center, 433 Zhen'an East Road, Jinxia Community, Chang'an Town, Dongguan City, Guangdong Province, 528000

Applicant after: Zhengxian New Material Technology (Guangdong) Co.,Ltd.

Applicant after: Zhengxian (BOLUO) new materials Co.,Ltd.

Address before: 518000 Floor 1-3, No. 4, Lide Street, Anliang Community, Henggang Street, Longgang District, Shenzhen, Guangdong Province

Applicant before: Dongcai plastic pigment (Shenzhen) Co.,Ltd.

Applicant before: Zhengxian (BOLUO) new materials Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant