CN115329414B - Method, device, equipment and storage medium for quickly designing shoe body color data - Google Patents

Method, device, equipment and storage medium for quickly designing shoe body color data Download PDF

Info

Publication number
CN115329414B
CN115329414B CN202211264265.3A CN202211264265A CN115329414B CN 115329414 B CN115329414 B CN 115329414B CN 202211264265 A CN202211264265 A CN 202211264265A CN 115329414 B CN115329414 B CN 115329414B
Authority
CN
China
Prior art keywords
color
shoe body
subarea
matching
data
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
CN202211264265.3A
Other languages
Chinese (zh)
Other versions
CN115329414A (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.)
Guangdong Shidi Intelligent Technology Co Ltd
Original Assignee
Guangdong Shidi Intelligent Technology 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 Guangdong Shidi Intelligent Technology Co Ltd filed Critical Guangdong Shidi Intelligent Technology Co Ltd
Priority to CN202211264265.3A priority Critical patent/CN115329414B/en
Publication of CN115329414A publication Critical patent/CN115329414A/en
Application granted granted Critical
Publication of CN115329414B publication Critical patent/CN115329414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • 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)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Architecture (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Character Input (AREA)
  • Footwear And Its Accessory, Manufacturing Method And Apparatuses (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for quickly designing shoe body color data, and belongs to the technical field of Internet of things. The method comprises the following steps: acquiring color design data of a first shoe body; the color design data is stored according to a preset data format; importing the color design data of the first shoe body through a preset importing component on a design interface of the second shoe body, and analyzing the color design data to obtain a color configuration scheme; matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition; and carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body. This technical scheme has avoided the manual problem that sets up shoes body colour sample of needs designer, has improved the efficiency of design and has saved the manpower. The second shoe body is subjected to region division and then matched with the color configuration scheme, so that the color configuration accuracy of the second shoe body is improved.

Description

Method, device, equipment and storage medium for quickly designing shoe body color data
Technical Field
The application belongs to the technical field of Internet of things, and particularly relates to a method, a device, equipment and a storage medium for rapidly designing shoe body color data.
Background
With the progress of society and science and technology, people expect the technology of shoes more and more, besides the requirement of comfort, the requirement of appearance of shoes is also higher, and therefore shoes with more and more colors are appeared. Because the shoes demand increases gradually, so also rise gradually to the requirement of shoes production efficiency, if promoted the speed of shoes body colour design, then will promote the production efficiency of shoes to a certain extent.
At present, an optical instrument, a computer and software are used for matching colors for shoe bodies, firstly, a light splitting color measuring instrument is used for detecting basic coloring materials, then, color data of a measurement sample (or a standard color card) is transmitted to a color matching system, and finally, the shoe bodies are matched after a color matching scheme is found by color matching software.
However, the matching degree of the color design result and the color scheme cannot be determined by the current technology, so that the color design result is possibly different from the preset color, and the formula needs to be manually input and corrected after the difference occurs, thereby reducing the color matching efficiency of the shoe. Therefore, how to determine the matching degree of the shoe body color design result and the color scheme and how to automatically modify the color scheme when the color design result and the color scheme are matched have deviation is a problem to be solved in the field.
Disclosure of Invention
The embodiment of the application aims to provide a method, a device, equipment and a storage medium for quickly designing shoe color data, and aims to solve the problems that in the prior art, the matching degree of a color design result and a color matching scheme cannot be determined, the color design result is possibly different from a preset color, a formula needs to be manually input and corrected after the difference occurs, and the color matching efficiency of shoes is reduced. Because the color data of the first shoe body is stored in advance, the color of the second shoe body is directly designed according to the color configuration scheme of the first shoe body, the problem that a designer needs to manually set a color sample when the color of the shoe body is designed in the prior art is solved, the efficiency of shoe body color design is improved, and manpower is saved. And the color configuration scheme is matched and configured after the second shoe body is subjected to region division, so that the color configuration accuracy of the second shoe body is improved.
In a first aspect, an embodiment of the present application provides a method for rapidly designing shoe body color data, where the method includes:
acquiring color design data of a first shoe body; wherein, the color design data is stored according to a preset data format;
importing color design data of the first shoe body through a preset importing component on a design interface of a second shoe body, and analyzing the color design data to obtain a color configuration scheme;
matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition;
and carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body.
Furthermore, in the design interface of the second shoe body, the color design data of the first shoe body is imported through a preset import component, and the color design data is analyzed to obtain a color configuration scheme, which comprises the following steps:
responding to the import operation of the import component on a design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data;
importing the color design data of the selected first shoe body in response to the selection operation of the color design data;
analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
Further, matching the color allocation scheme based on the partition rule of the second shoe body to obtain color allocation information of each partition, including:
reading the partition rule of the second shoe body to obtain the distribution position of each partition;
matching according to the distribution position of each subarea of the second shoe body and the distribution position of each color type of the first shoe body to obtain a subarea matching result;
and determining the color configuration information of each subarea of the second shoe body according to the subarea matching result.
Further, determining color configuration information of each subarea of the second shoe body according to the subarea matching result comprises:
if the matching result is that the matching degree exceeds a first threshold value, determining that the distribution position of the current subarea is successfully matched, and coloring by using the color type of the matching subarea of the first shoe body;
if the matching result is that the matching degree does not exceed a first threshold value, and the current subarea and the adjacent subarea are matched to one matching subarea of the first shoe body together, coloring the current subarea and the adjacent subarea according to the color type of the matching subarea of the first shoe body;
and if the matching result is that the matching degree does not exceed a first threshold value and the current subareas are matched with at least two matching subareas of the first shoe body, splicing and coloring or gradient coloring is carried out on the current subareas according to the color types of the at least two matching subareas of the first shoe body.
Further, determining color configuration information of each subarea of the second shoe body according to the subarea matching result, further comprising:
if the matching result is that the matching degree does not exceed a first threshold value, coloring the current partition through a big data adjusting model; wherein the big data adjustment model is a data model constructed based on statistical history manual adjustment records.
In a second aspect, the present application provides a device for rapidly designing shoe color data, the device includes:
the obtaining module is used for obtaining color design data of the first shoe body; wherein, the color design data is stored according to a preset data format;
the analysis module is used for importing the color design data of the first shoe body through a preset import component on a design interface of the second shoe body and analyzing the color design data to obtain a color configuration scheme;
the matching module is used for matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition;
and the configuration module is used for carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body.
Further, the parsing module is specifically configured to:
responding to the import operation of the import component on a design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data;
importing the color design data of the selected first shoe body in response to the selection operation of the color design data;
analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
Further, the matching module includes:
the subarea distribution position determining unit is used for reading the subarea rule of the second shoe body to obtain the distribution position of each subarea;
the subarea matching result determining unit is used for matching the distribution positions of all subareas of the second shoe body with the distribution positions of all color types of the first shoe body to obtain a subarea matching result;
and the subarea color determining unit is used for determining color configuration information of each subarea of the second shoe body according to the subarea matching result.
Further, the partition color determining unit is specifically configured to:
if the matching result is that the matching degree exceeds a first threshold value, determining that the distribution position of the current subarea is successfully matched, and coloring by using the color type of the matching subarea of the first shoe body;
if the matching result is that the matching degree does not exceed a first threshold value, and the current subarea and the adjacent subarea are matched to one matching subarea of the first shoe body together, coloring the current subarea and the adjacent subarea according to the color type of the matching subarea of the first shoe body;
and if the matching result is that the matching degree does not exceed a first threshold value and the current subareas are matched with at least two matching subareas of the first shoe body, splicing and coloring or gradient coloring is carried out on the current subareas according to the color types of the at least two matching subareas of the first shoe body.
Further, the partition color determining unit is further specifically configured to:
if the matching result is that the matching degree does not exceed a first threshold value, coloring the current partition through a big data adjusting model; wherein the big data adjustment model is a data model constructed based on statistical history manual adjustment records.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, color design data of a first shoe body is obtained; the color design data are stored according to a preset data format; importing color design data of the first shoe body through a preset importing component on a design interface of a second shoe body, and analyzing the color design data to obtain a color configuration scheme; matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition; and carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body. Because the color data of the first shoe body is stored in advance, the color of the second shoe body is directly designed according to the color configuration scheme of the first shoe body, the problem that a designer needs to manually set a color sample when the color of the shoe body is designed in the prior art is solved, the efficiency of shoe body color design is improved, and manpower is saved. And the color configuration scheme is matched and configured after the second shoe body is subjected to region division, so that the color configuration accuracy of the second shoe body is improved.
Drawings
FIG. 1 is a schematic flow chart of a method for rapid design of color data for a shoe body according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of a method for rapid design of color data of a shoe according to the second embodiment of the present application;
FIG. 3 is a schematic flowchart of a method for rapid design of color data of a shoe according to a third embodiment of the present application;
FIG. 4 is a schematic flow chart of a method for rapid design of shoe body color data according to the fourth embodiment of the present application;
FIG. 5 is a schematic structural diagram of a device for rapid design of color data of a shoe body according to the fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail a method, an apparatus, a device and a storage medium for rapid design of shoe color data provided by the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Example one
Fig. 1 is a schematic flow chart of a method for rapidly designing shoe color data according to an embodiment of the present application. As shown in fig. 1, the method specifically comprises the following steps:
s101, acquiring color design data of a first shoe body; wherein the color design data is stored according to a preset data format.
Firstly, the use scene of the scheme can be used when a designer selects the shoe body color through software or an editing page on an intelligent terminal, such as a mobile phone, a notebook computer or a desktop computer.
Based on the above usage scenario, it can be understood that the execution subject of the present application may be the intelligent terminal, and may also be a processor running software or editing a page in the intelligent terminal, which is not limited herein.
In this scheme, the first shoe body can be a reference model for shoe body color design, and specifically, shoes sold on the market or sample shoes to be mass-produced can be used as the first shoe body.
The color design data may be color data of the first shoe body, specifically, may be overall color data of the first shoe body, or may be color data of a single region after the shoe body is divided into different regions.
The predetermined data format may be a manner of recording the color of the shoe body, including an RGB mode, a CMYK mode, an HSB mode, a Lab mode, a bitmap mode, a gray scale mode, an index color mode, a two-tone mode, and a multi-channel mode. In the scheme, the RGB mode can be adopted to record the color of the shoe body. RGB represents red, green, blue, and includes three values, the value range of the value is 0-255, the representation mode is (red, green, blue), for example, the white RGB value is (255, 255, 255).
In the scheme, the color design data of the first shoe body can be obtained by accessing the memory unit of the database through the system bus by the CPU of the intelligent terminal. The system bus is used to transmit all data signals and control signals. In the memory unit, a control line and a data line are connected simultaneously, when the control line chip selects a memory unit in a certain area, the data in the area is activated, then the data line copies the logic signal of the memory unit to a cpu buffer area according to the instruction mode of the control line, and finally, the copied data performs logic operation in the buffer area inside the cpu chip.
Storing the color design data of the shoe body may be a process of storing colors in RGB mode in a storage unit of a database in a pixel form, including a sequential storage method, a link storage method, an index storage method, and a hash storage method. The pixel form of RGB includes RGB565, RGB555, RGB24, RGB32, ARGB32, in this scheme, the format of RGB24 can be used for storage, RGB24 means that each chroma component is represented by 8 bits, 2^8=256, i.e. the representation range of each chroma is 0-255. Accordingly, the color design data may be stored using an index storage method, which refers to a storage method for identifying the address of a node by establishing storage node information and establishing an additional index table.
S102, importing the color design data of the first shoe body through a preset importing component on a design interface of the second shoe body, and analyzing the color design data to obtain a color configuration scheme.
The second shoe body can be a shoe which needs to be subjected to color design, and particularly, a shoe which needs to be enlarged or produced in batch according to a sample can be used as the second shoe body.
The import component may be a data handling component used in transferring color design data stored in the database to the design interface. In the scheme, the Sqoop component can be used as the import component, and the Sqoop has the characteristics of high efficiency and large-batch data transmission.
The color configuration scheme can be the overall color configuration condition of the first shoe body, and a user can slide or rotate the first shoe body in the design interface so as to view the overall color of the shoe body by 360 degrees. Or the local color configuration condition of the first shoe body, and the user can click the part to be viewed to obtain the color configuration condition of the current part.
Importing color design data for a first shoe body may be a process of transmitting the color design data for the first shoe body stored in the database to design software using a Sqoop component.
Parsing the color design data may be a process of displaying colors of RGB patterns stored in the form of pixels as specific colors through an RGB color development system.
S103, matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition.
The partition rule of the second shoe body can be a scheme of a splitting area of the second shoe body, and specifically, the partition rule can include the name, the position and the occupied proportion of the splitting area. In the scheme, the shoe body can be disassembled into the vamp, the sole and the lining, the vamp can be disassembled into a plurality of areas, the disassembled areas are numbered and then used as names of the disassembled areas, coordinates of all points in the areas are connected to serve as positions of the areas, and the area occupied by the areas is used as the proportion.
The color configuration information may be color information of each section of the second shoe body after the color configuration scheme is assigned to each section of the second shoe body, and may include a region name and color data.
The matching can be a process of distributing the color configuration scheme to each subarea of the second shoe body, and the color configuration scheme needs to achieve the effect of being consistent with the size of the second shoe body by amplifying or reducing a certain proportion because the size of the second shoe body is inconsistent with that of the first shoe body, and then the color configuration scheme is distributed according to the position and the proportion of each area.
S104, carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body.
The color design result can be that after the second shoe body is subjected to subarea color allocation, the subareas are combined to obtain the whole color information of the second shoe body. And after a color design result is obtained, the subsequent production work of the second shoe body can be carried out according to the result.
The configuration may be a process of setting a desired color to each section of the second shoe body according to the color configuration information of each section. For example, the RGB value of the color required in the area of the upper 1 is (255,0,0), the system sets the color to the area of the upper 1 through the code segment after receiving the coloring command.
In the embodiment of the application, color design data of a first shoe body is obtained; wherein, the color design data is stored according to a preset data format; importing color design data of the first shoe body through a preset importing component on a design interface of a second shoe body, and analyzing the color design data to obtain a color configuration scheme; matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition; and carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body. The technical scheme that this embodiment provided owing to the colour data of the first shoes body of prestoring, through the mode of directly designing the second shoes body colour according to first shoes body colour configuration scheme, need the manual problem that sets up the colour sample of designer when avoiding the design shoes body colour before, improves the efficiency of shoes body colour design and has saved the manpower. And the color configuration scheme is matched and configured after the second shoe body is subjected to region division, so that the color configuration accuracy of the second shoe body is improved.
Example two
Fig. 2 is a schematic flow chart of a method for rapidly designing shoe color data according to the second embodiment of the present application. As shown in fig. 2, the method specifically comprises the following steps:
importing the color design data of the first shoe body through a preset import component on a design interface of the second shoe body, and analyzing the color design data to obtain a color configuration scheme, wherein the color configuration scheme comprises the following steps:
s201, acquiring color design data of a first shoe body; wherein the color design data is stored according to a preset data format.
S202, responding to the import operation of the import component on the design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data.
The storage device is a device for storing information, and includes devices such as RAM, ROM, hard disk, usb disk, and DVD. In the scheme, the ROM can be used as a storage device, and the method has the advantages that data are still reserved after power is cut off, so that information cannot be lost after power is cut off.
The response can be a feedback result of waiting for the import component to carry out the import operation, and if the import is successful, the response is successful, and the next operation can be carried out; if the response fails, the next operation cannot be performed.
The index is to search and guide each piece of data, find out the relevant data and give a return value. In this scenario, indexing may be the process of searching for RGB colors stored in pixel form to create another data structure, where the values of the RGB colors are stored, each value pointing to its associated record. The data structure of such an index is ordered so that a binary search can be performed on it.
The display can be a process of reflecting the color analyzed by the RGB color development system to a user through a display screen, and the display screen can be a computer display screen, a mobile phone screen, a notebook computer screen and the like.
S203, responding to the selection operation of the color design data, importing the selected color design data of the first shoe body.
The selection of color design data may be a process by which a user selects a plurality of color design results to obtain satisfactory shoe body color data. The result of this selection is used as a reference sample for the next design of the second shoe body.
S204, analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
The color type may be all colors included in the first shoe body expressed by the RGB pattern.
The distribution position of the color types can be the relative position of the area where the points of the color are connected on the first shoe body. In the scheme, the coordinates of the central point of the split area can be used as the coordinates of the color type distribution position, and a three-dimensional coordinate system can be adopted to represent the coordinates of the color type distribution position. For example, the central point of the upper is taken as the origin of coordinates (0,0,0), the central coordinates of the upper region 1 where the white color (255, 255, 255) is located can be expressed as (X, Y, Z), and the coordinates are the distribution positions of the white color (255, 255, 255).
According to the technical scheme provided by the embodiment, a large amount of color design data is stored in the storage device, so that more opportunities are provided for a user to select the shoe body of the self-mental apparatus. Meanwhile, various color types and positions are displayed in the color configuration scheme, so that a user can check the position of a region to be checked and the corresponding color in a mode of clicking the center coordinate, and the checking efficiency and the checking intuitiveness are improved.
EXAMPLE III
FIG. 3 is a flow chart of a method for rapidly designing color data of a shoe according to a third embodiment of the present application. As shown in fig. 3, the method specifically includes the following steps:
matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition, wherein the color configuration information comprises the following steps:
s301, responding to the import operation of the import component on the design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data.
S302, responding to the selection operation of the color design data, importing the selected color design data of the first shoe body.
S303, analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
S304, reading the partition rule of the second shoe body to obtain the distribution position of each partition.
The distribution position of each partition can be the position of the center point coordinate of the partition. Since each area is formed by connecting the coordinates of each point, the position is difficult to be represented, so that the position of the partition can be represented by the coordinate of the center point of the partition, and the position of the partition can be reached when the coordinate of the center point is hit.
The reading can be a process of calling the partition rule of the second shoe body stored in the storage unit into the design software, and the coordinates of the distribution positions of the partitions can be obtained only after the reading is successful, so that the coordinates can be matched with the distribution positions of the colors and the types of the first shoe body on the basis of the coordinates.
S305, matching according to the distribution position of each subarea of the second shoe body and the distribution position of each color type of the first shoe body to obtain a subarea matching result.
The result of the partition matching can be whether the distribution position of each partition of the second shoe body can correspond to the distribution position of each color type of the first shoe body which is scaled according to a certain proportion, if the correspondence is successful, the matching is regarded as successful, and the color of the partition can be directly determined; and if the correspondence fails, determining the color of the subarea after integrating with other subareas.
S306, determining color configuration information of each subarea of the second shoe body according to the subarea matching result.
On the basis of the above technical solutions, optionally, the determining color configuration information of each partition of the second shoe body according to the partition matching result further includes:
if the matching result is that the matching degree does not exceed a first threshold value, coloring the current partition through a big data adjusting model; wherein the big data adjustment model is a data model constructed based on statistical history manual adjustment records.
The big data adjusting model can be a solid model formed by utilizing a statistical analysis mode on records of manual adjustment of the color of the second shoe body by the user when the matching result does not exceed a first threshold value. Because the number of the distribution areas is different, the processing modes are different, and all the used processing modes are contained in the big data model. And when the matching result does not exceed the first threshold, matching the current situation with the historical record after judging the current situation by using the big data model, and then performing the next coloring operation.
According to the technical scheme provided by the embodiment, the color configuration information of each area of the second shoe body is determined by the way that the second shoe body is matched with the first shoe body in a partition mode, so that the matching complexity can be reduced, and the matching speed is increased. Meanwhile, the matching precision of the final color configuration information of the second shoe body and the selected color design data of the first shoe body is improved due to the partition matching, and the final presenting effect of the second shoe body is improved.
Example four
Fig. 4 is a schematic flow chart of a rapid design method of shoe body color data according to the fourth embodiment of the present application. As shown in fig. 4, the method specifically includes the following steps:
s401, reading the partition rule of the second shoe body to obtain the distribution position of each partition.
S402, matching according to the distribution positions of the subareas of the second shoe body and the distribution positions of the color types of the first shoe body to obtain a subarea matching result.
S403, determining color configuration information of each subarea of the second shoe body according to the subarea matching result.
S404, if the matching result is that the matching degree exceeds a first threshold value, determining that the distribution position of the current subarea is successfully matched, and coloring by using the color type of the matching subarea of the first shoe body.
The matching degree can be the numerical size of the partition matching result and can be expressed by percentage, decimal and fraction. In this embodiment, the matching degree can be expressed as a percentage, for example, the matching degree of the upper 1 area and the first shoe body is 90%.
The first threshold may be a standard customized to measure whether the current partition distribution location matches successfully, or may be expressed as a percentage. For example, if the matching degree is higher than or equal to 90%, the matching is considered to be successful, and the area of the upper 1 is successfully matched with the area of the first shoe body, and the coloring operation can be performed.
The matching subarea of the first shoe body can be a subarea corresponding to a certain area of the second shoe body after the first shoe body is enlarged or reduced by a certain proportion. Specifically, the coordinate can also be used for representing the position of the first shoe body matching subarea. After the division, the area of the first shoe body can be named correspondingly, for example, the area of the upper 1 of the second shoe body corresponds to the area of the upper a of the first shoe body, and the coordinate position of the area of the upper a is (Xa, ya, za).
The coloring can be a process of coloring the shoes according to the color of the first shoe body in the subareas after the current subarea distribution position is successfully matched, and particularly, the shoes can be colored by using a coloring machine.
S405, if the matching result is that the matching degree does not exceed a first threshold value, and the current subarea and the adjacent subarea are matched to one matching subarea of the first shoe body together, coloring the current subarea and the adjacent subarea according to the color type of the matching subarea of the first shoe body.
The current partition may be the location of the partition being matched, and is represented by the coordinates of the center point of the area. The adjacent partition can be the position where the current area is next to the partition, and is also represented by the coordinates of the center point of the area. For example, the upper 1 may have only the upper 2, or may have both the upper 2 and the upper 3.
The matching can be a process of distributing the current subarea and the adjacent subarea to the corresponding area of the first shoe body after combining the current subarea and the adjacent subarea when the matching value of a certain area of the second shoe body and the corresponding area of the first shoe body is lower than 90 percent and the matching value of the adjacent area of the second shoe body and the corresponding area of the first shoe body after combining the adjacent area of the second shoe body and the area is higher than or equal to 90 percent.
The coloring may be a process of coloring the current area and the adjacent area together by a coloring machine after the current area is combined with the adjacent area and is successfully matched with the corresponding area of the first shoe body.
S406, if the matching result is that the matching degree does not exceed a first threshold value and the current subareas are matched with the at least two matching subareas of the first shoe body, splicing and coloring or gradually coloring the current subareas according to the color types of the at least two matching subareas of the first shoe body.
The matching can be a process of distributing the subareas to two or more areas of the first shoe body when the matching value of a certain area of the second shoe body and the corresponding area of the first shoe body is lower than 90%, and the matching value of two or more areas of the first shoe body and the area of the second shoe body is higher than or equal to 90% after being combined.
The splicing coloring can be a process of strictly coloring the area of the second shoe body according to the respective colors of the two or more areas of the first shoe body after the second shoe body is subjected to area subdivision according to the percentage of the two or more areas of the first shoe body in the current area of the second shoe body. For example, if the matching of the area of the second shoe body vamp 1 with the area combining the first shoe body vamp a and the first shoe body vamp b is successful, the area of the vamp 1 is divided again according to the size occupied by the vamp a and the vamp b, the divided areas are named as the vamp 1a and the vamp 1b, and the color of the vamp 1a is the color of the vamp a; the color of the vamp 1b is the color of the vamp b.
The gradual change coloring can be a process of slowly transitioning from one color to another color coloring by utilizing a coloring machine after two or more areas of the first shoe body are subjected to area subdivision on the second shoe body according to the percentage of the current area of the second shoe body. Gradual change is painted and need not carry out the regional subdivision to the second shoes body, and vamp a colour is red for example, and vamp b colour is purple, and the machine of coloring only needs to color the colour after the two colours combine for vamp 1 to color according to certain level change can.
The technical scheme provided by the embodiment judges the matching degree of a certain area of the second shoe body and the corresponding area of the first shoe body by setting the threshold value of the matching degree, and can color the second shoe body flexibly according to different matching conditions. A more comprehensive scheme is designed for coloring the second shoe body, so that the color restoring degree of the second shoe body is improved.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a device for rapidly designing shoe body color data according to the fifth embodiment of the present application. As shown in fig. 5, the method specifically includes the following steps:
an obtaining module 501, configured to obtain color design data of a first shoe body; wherein, the color design data is stored according to a preset data format;
the analysis module 502 is used for importing the color design data of the first shoe body through a preset import component on a design interface of the second shoe body, and analyzing the color design data to obtain a color configuration scheme;
the matching module 503 is configured to match the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition;
the configuration module 504 is configured to perform color configuration according to the color configuration information of each partition to obtain a color design result of the second shoe body.
Further, the parsing module is specifically configured to:
responding to the import operation of the import component on a design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data;
importing the color design data of the selected first shoe body in response to the selection operation of the color design data;
analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
Further, the matching module includes:
the subarea distribution position determining unit is used for reading the subarea rule of the second shoe body to obtain the distribution position of each subarea;
the subarea matching result determining unit is used for matching the distribution positions of all subareas of the second shoe body with the distribution positions of all color types of the first shoe body to obtain a subarea matching result;
and the subarea color determining unit is used for determining color configuration information of each subarea of the second shoe body according to the subarea matching result.
Further, the partition color determining unit is specifically configured to:
if the matching result is that the matching degree exceeds a first threshold value, determining that the distribution position of the current subarea is successfully matched, and coloring by using the color type of the matching subarea of the first shoe body;
if the matching result is that the matching degree does not exceed a first threshold value, and the current subarea and the adjacent subarea are matched to one matching subarea of the first shoe body together, coloring the current subarea and the adjacent subarea according to the color type of the matching subarea of the first shoe body;
and if the matching result is that the matching degree does not exceed a first threshold value and the current subareas are matched with at least two matching subareas of the first shoe body, splicing and coloring or gradient coloring is carried out on the current subareas according to the color types of the at least two matching subareas of the first shoe body.
Further, the partition color determining unit is further specifically configured to:
if the matching result is that the matching degree does not exceed a first threshold value, coloring the current partition through a big data adjusting model; wherein the big data adjustment model is a data model constructed based on statistical history manual adjustment records.
In this embodiment, the obtaining module 501 is configured to obtain color design data of a first shoe body; wherein, the color design data is stored according to a preset data format; the analysis module 502 is used for importing the color design data of the first shoe body through a preset import component on a design interface of the second shoe body, and analyzing the color design data to obtain a color configuration scheme; the matching module 503 is configured to match the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition; the configuration module 504 is configured to perform color configuration according to the color configuration information of each partition to obtain a color design result of the second shoe body. The technical scheme that this embodiment provided owing to the colour data of the first shoes body of prestoring, through the mode of directly designing the second shoes body colour according to first shoes body colour configuration scheme, need the manual problem that sets up the colour sample of designer when avoiding the design shoes body colour before, improves the efficiency of shoes body colour design and has saved the manpower. And the color configuration scheme is matched and configured after the second shoe body is subjected to region division, so that the color configuration accuracy of the second shoe body is improved.
The device for rapidly designing shoe color data provided in this embodiment corresponds to the methods provided in the above embodiments and has corresponding implementation processes and beneficial effects, which are not described herein again.
EXAMPLE six
As shown in fig. 6, an electronic device 600 is further provided in the embodiments of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement the processes of the above embodiments of the method for rapidly designing color data of a shoe body, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated herein.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
EXAMPLE seven
The embodiment of the application also provides a readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction realizes each process of the embodiment of the rapid design method of the shoe body color data, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
Example eight
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, all processes of the embodiment of the rapid design method for the shoe body color data are realized, the same technical effects can be achieved, and repeated description is omitted here for avoiding repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (8)

1. A method for rapidly designing shoe body color data, which is characterized by comprising the following steps:
acquiring color design data of a first shoe body; wherein, the color design data is stored according to a preset data format;
importing color design data of the first shoe body through a preset importing component on a design interface of a second shoe body, and analyzing the color design data to obtain a color configuration scheme;
matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition; reading the partition rule of the second shoe body to obtain the distribution position of each partition; matching according to the distribution position of each subarea of the second shoe body and the distribution position of each color type of the first shoe body to obtain a subarea matching result; determining color configuration information of each subarea of the second shoe body according to the subarea matching result;
and carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body.
2. The method of claim 1, wherein importing color design data of the first shoe body through a preset import component and analyzing the color design data to obtain a color scheme at a design interface of a second shoe body comprises:
responding to the import operation of the import component on a design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data;
importing the color design data of the selected first shoe body in response to the selection operation of the color design data;
analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
3. The method of claim 1, wherein determining color configuration information for each zone of the second shoe body based on the zone matching results comprises:
if the matching result is that the matching degree exceeds a first threshold value, determining that the distribution position of the current subarea is successfully matched, and coloring by using the color type of the matching subarea of the first shoe body;
if the matching result is that the matching degree does not exceed a first threshold value, and the current subarea and the adjacent subarea are matched to one matching subarea of the first shoe body together, coloring the current subarea and the adjacent subarea according to the color type of the matching subarea of the first shoe body;
and if the matching result is that the matching degree does not exceed a first threshold value and the current subareas are matched with at least two matching subareas of the first shoe body, splicing and coloring or gradient coloring is carried out on the current subareas according to the color types of the at least two matching subareas of the first shoe body.
4. The method of claim 1, wherein determining color configuration information for each zone of the second shoe body based on the zone matching results further comprises:
if the matching result is that the matching degree does not exceed a first threshold value, coloring the current partition through a big data adjusting model; wherein the big data adjustment model is a data model constructed based on statistical history manual adjustment records.
5. A device for rapid design of shoe body color data, said device comprising:
the obtaining module is used for obtaining color design data of the first shoe body; wherein, the color design data is stored according to a preset data format;
the analysis module is used for importing the color design data of the first shoe body through a preset import component on a design interface of the second shoe body and analyzing the color design data to obtain a color configuration scheme;
the matching module is used for matching the color configuration scheme based on the partition rule of the second shoe body to obtain color configuration information of each partition;
the matching module includes:
the subarea distribution position determining unit is used for reading the subarea rule of the second shoe body to obtain the distribution position of each subarea;
the subarea matching result determining unit is used for matching the distribution positions of all subareas of the second shoe body with the distribution positions of all color types of the first shoe body to obtain a subarea matching result;
the subarea color determining unit is used for determining color configuration information of each subarea of the second shoe body according to the subarea matching result;
and the configuration module is used for carrying out color configuration according to the color configuration information of each subarea to obtain a color design result of the second shoe body.
6. The apparatus of claim 5, wherein the parsing module is specifically configured to:
responding to the import operation of the import component on a design interface of the second shoe body, indexing based on a preset data format, acquiring color design data in a storage device, and displaying the color design data;
importing the color design data of the selected first shoe body in response to the selection operation of the color design data;
analyzing the color design data according to the preset data format to obtain the color design data and obtain a color configuration scheme; wherein the color arrangement scheme includes each color type and a distribution position of each color type.
7. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the method of rapid design of color data for footwear according to any of claims 1-4.
8. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of a method for rapid design of color data for footwear bodies according to any one of claims 1 to 4.
CN202211264265.3A 2022-10-17 2022-10-17 Method, device, equipment and storage medium for quickly designing shoe body color data Active CN115329414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211264265.3A CN115329414B (en) 2022-10-17 2022-10-17 Method, device, equipment and storage medium for quickly designing shoe body color data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211264265.3A CN115329414B (en) 2022-10-17 2022-10-17 Method, device, equipment and storage medium for quickly designing shoe body color data

Publications (2)

Publication Number Publication Date
CN115329414A CN115329414A (en) 2022-11-11
CN115329414B true CN115329414B (en) 2023-03-24

Family

ID=83915366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211264265.3A Active CN115329414B (en) 2022-10-17 2022-10-17 Method, device, equipment and storage medium for quickly designing shoe body color data

Country Status (1)

Country Link
CN (1) CN115329414B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115578548B (en) * 2022-12-07 2023-05-23 广东时谛智能科技有限公司 Method and device for processing three-dimensional shoe model according to input picture

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299009B1 (en) * 2013-05-13 2016-03-29 A9.Com, Inc. Utilizing color descriptors to determine color content of images

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101937929B1 (en) * 2014-06-23 2019-01-14 나이키 이노베이트 씨.브이. Footwear designing tool
BR112021022132A2 (en) * 2019-08-21 2022-03-03 L´Oreal Computing device, method and apparatus for recommending at least one of a makeup palette or hair color scheme
CN114399615A (en) * 2021-12-24 2022-04-26 广东时谛智能科技有限公司 Efficient shoe color matching setting method and device based on three-dimensional model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9299009B1 (en) * 2013-05-13 2016-03-29 A9.Com, Inc. Utilizing color descriptors to determine color content of images

Also Published As

Publication number Publication date
CN115329414A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
Murashkin et al. Visualization and exploration of optimal variants in product line engineering
CN115329414B (en) Method, device, equipment and storage medium for quickly designing shoe body color data
CN114328452A (en) Data auditing method, device, platform, electronic equipment and storage medium
CN111127592B (en) Picture color filling method and device, electronic equipment and readable storage medium
CN110647573B (en) Chart visualization editing method and system based on database technology
CN113837181B (en) Screening method, screening device, computer equipment and computer readable storage medium
CN114610944B (en) Optimization method for intelligent keyword matching resource material based on three-dimensional engine
CN111653232B (en) LED screen color gamut calibration method and device
CN112988576B (en) Method and device for determining development process of software project
CN113077534B (en) Picture synthesis cloud platform and picture synthesis method
CN112257134B (en) Model management method and device and electronic equipment
CN114546375A (en) Page configuration method, page configuration device and electronic equipment
CN114064786A (en) Data display method, data display device and server
CN110059215B (en) Arrangement system suitable for rapid naming and filing of defect photos of power transmission line
CN112156460A (en) Game user interface resource processing method and device
CN113127408A (en) Data conversion method and device
CN111444392A (en) Method, device and equipment for accessing cave library
CN111276092A (en) Optimization parameter determination method and device
CN118132790A (en) Data processing method and device
CN111918137B (en) Push method and device based on video characteristics, storage medium and terminal
CN118001745A (en) Model asset processing method and device and electronic equipment
KR20120119575A (en) Method for providing emotion information of color in smart phone
CN111178013B (en) Method and terminal for restoring custom coloring effect of picture in PPT
CN116414637A (en) Equipment testing method based on automatic generation of connection schematic diagram
CN115935863A (en) Digital circuit load division processing method and device and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant