CN114612606A - Shoe body exclusive customization method and device based on graphic elements and color matching data - Google Patents

Shoe body exclusive customization method and device based on graphic elements and color matching data Download PDF

Info

Publication number
CN114612606A
CN114612606A CN202210130285.5A CN202210130285A CN114612606A CN 114612606 A CN114612606 A CN 114612606A CN 202210130285 A CN202210130285 A CN 202210130285A CN 114612606 A CN114612606 A CN 114612606A
Authority
CN
China
Prior art keywords
color matching
shoe body
rendering
target
graph
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210130285.5A
Other languages
Chinese (zh)
Inventor
林子森
黄南海
谢冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210130285.5A priority Critical patent/CN114612606A/en
Publication of CN114612606A publication Critical patent/CN114612606A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures

Abstract

The embodiment of the application discloses a shoe body exclusive customization method and device based on graphic elements and color matching data. According to the technical scheme provided by the embodiment of the application, the target image input by a user is received, the target graph in the target image is identified, the target graph is converted into the vector graph, and the graph rendering display option is constructed based on the vector graph; when the shoe body of the current shoe body three-dimensional model is designed, in response to a first operation of a user on a graphic rendering display option, rendering and displaying a corresponding vector graphic to a specified part of the shoe body three-dimensional model; and in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering the specified color matching information on the vector graphics. By adopting the technical means, the efficiency of setting the figure and the color matching of the shoe body can be improved, the design effect of the figure and the color matching is optimized, the flexibility of customizing the shoe body is improved, and the technical problems of complexity and inconvenience in the process of setting the figure and the color matching of the shoe body are solved.

Description

Shoe body exclusive customization method and device based on graphic elements and color matching data
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a shoe body exclusive customization method and device based on graphic elements and color matching data.
Background
With the development and innovation of the shoe making industry, the shoe body design technology is also continuously improved. At present, when the shoe body is designed, the construction and design of a three-dimensional model of the shoe body and the rendering display of the figure and the color matching of the shoe body can be realized through a computer, so that the efficiency of shoe body design can be improved, and the design effect is optimized. Generally, designers often select pre-stored graphic data and color information manually during shoe body graphic and color design, and then render and display the data at designated positions of a three-dimensional shoe body model. Through model rendering, the design result of the shoe body can be visually reflected, and convenience is provided for the design of the shoe body.
However, because of the relatively large number of shoe body components, different components may need to be provided with different color schemes. The graphs need to be drawn manually by designers, so that the whole graph and color matching setting process is relatively complicated and lacks flexibility.
Disclosure of Invention
The embodiment of the application provides a shoe body exclusive customization method and device based on graphic elements and color matching data, which can improve the shoe body graphic and color matching setting efficiency, optimize the graphic and color matching design effect, improve the flexibility of shoe body customization and solve the technical problem of complexity and inconvenience in shoe body graphic and color matching setting processes.
In a first aspect, embodiments of the present application provide a method for shoe body-specific customization based on graphical elements and color matching data, comprising:
receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph;
when the shoe body of the current shoe body three-dimensional model is designed, responding to a first operation of a user on the graphic rendering display option, and rendering and displaying the corresponding vector graphics to a specified part of the shoe body three-dimensional model;
in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering specified color matching information onto the vector graphics.
Further, after identifying the target pattern in the target image, the method further includes:
and identifying the color information of the target graph, and constructing a color matching rendering option based on the color information so as to select the color matching rendering display of the shoe body three-dimensional model.
Further, after constructing a color matching rendering option based on the color information, the method further comprises:
and responding to a third operation of the user on a target component on the three-dimensional shoe body model, and performing color matching rendering display operation on the target component based on the color matching rendering option.
Further, the performing of the color matching rendering display operation of the target component based on the color matching rendering option includes:
and when the target component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching rendering options.
Further, after performing a color rendering display of the top level, the bottom level, or the designated level of the target component based on the color rendering options, the method further comprises:
and if the number of the color matching rendering options is multiple, randomly selecting each color matching rendering option, and performing color matching rendering display on the rest layers of the current target component.
Further, the rendering and displaying the corresponding vector graphics onto a designated part of the three-dimensional shoe body model comprises:
and when the designated component comprises a plurality of layers or areas, performing graphic rendering display of the designated area or designated layer of the designated component based on the vector graphics.
Further, after rendering the specified color matching information onto the vector graphics, the method further comprises:
and constructing a mapping relation between the designated component and the designated color matching information, wherein the mapping relation is used for a user to select color matching setting operation.
In a second aspect, embodiments of the present application provide a shoe body-specific customization device based on graphical elements and color matching data, comprising:
the conversion module is used for receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph;
the graphics rendering module is used for responding to a first operation of a user on the graphics rendering display option when the shoe body of the current shoe body three-dimensional model is designed, and rendering and displaying the corresponding vector graphics to a specified part of the shoe body three-dimensional model;
and the color matching rendering module is used for rendering the specified color matching information to the vector graphics in response to a second operation of the user on the vector graphics on the shoe body three-dimensional model.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method for shoe body-specific customization based on graphical elements and color matching data as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions for performing a method for shoe body-specific customization based on graphical elements and color matching data as described in the first aspect when executed by a computer processor.
The method comprises the steps of receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph; when the shoe body of the current shoe body three-dimensional model is designed, responding to a first operation of a user on a graphic rendering display option, and rendering and displaying a corresponding vector graphic to a specified part of the shoe body three-dimensional model; and in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering the specified color matching information on the vector graphics. By adopting the technical means, the efficiency of setting the figure and the color matching of the shoe body can be improved, the design effect of the figure and the color matching is optimized, the flexibility of customizing the shoe body is improved, and the technical problems of complexity and inconvenience in the process of setting the figure and the color matching of the shoe body are solved.
Drawings
FIG. 1 is a flow chart of a method for customized shoe customization based on graphical elements and color matching data according to an embodiment of the present application;
FIG. 2 is a flow chart of shoe body customization in an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a customized device for shoes based on graphic elements and color data according to the second embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a third 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 the application and are not limiting of the 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 could have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The first embodiment is as follows:
fig. 1 is a flowchart of a shoe body exclusive customization method based on graphic elements and color matching data according to an embodiment of the present application, where the shoe body exclusive customization method based on graphic elements and color matching data according to the embodiment of the present application may be executed by a shoe body exclusive customization device based on graphic elements and color matching data, the shoe body exclusive customization device based on graphic elements and color matching data may be implemented in a software and/or hardware manner, and the shoe body exclusive customization device based on graphic elements and color matching data may be formed by two or more physical entities or may be formed by one physical entity. Generally speaking, the shoe body exclusive customization device based on the graphic elements and the color matching data can be a computer, a mobile phone, a tablet and other processing devices.
The following description will be given by taking the sole customized apparatus based on the figure elements and the color matching data as an example of a main body for executing the sole customized method based on the figure elements and the color matching data. Referring to fig. 1, the customized method for shoe bodies based on graphic elements and color matching data specifically includes:
s110, receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph.
When the shoe body is designed, the image is defined as the target image by inputting the image, the target image is obtained by utilizing the graphic information provided in the target image, and the rendering display setting of the part for graphic rendering is prepared in the currently customized shoe body three-dimensional model, so that the setting efficiency of shoe body design is improved, the shoe body design effect is optimized, the shoe body design experience is optimized, and meanwhile, the flexibility of shoe body graphic setting is also improved.
Illustratively, when a designer designs a shoe body on a shoe body design application platform, the designer uses a target image (e.g., a cartoon image) to obtain a target figure by inputting the target image and the relevant figure provided by the target image, so as to design the current figure of the shoe body. Before this, when seeing the favorite things or images, the user can shoot the target image or download and screen the corresponding target image, namely, the target image can be used as the target image to provide the target image. When the shoe body is designed, the target image is input into the special customization equipment for the shoe body, and the target image is detected and identified, so that the image rendering display of the shoe body being designed is carried out on the detected and identified target image.
And when the figure of the shoe designed by the user is set subsequently, the three-dimensional model of the shoe body can be imported, and then the figure of the shoe body which is being designed at present is rendered and displayed based on the collected target figure.
In addition, in order to optimize the exclusive customization effect of the shoe body, the embodiment of the application also carries out color matching rendering display of the shoe body through identifying the color information of the target graph based on the color information, and optimizes the personalized customization effect of the shoe body.
For example, a user may want to convert the cartoon graphics and associated color information provided on a cartoon image to a currently designed shoe model. And then the cartoon image is input into the special customization equipment of the shoe body to acquire the cartoon image and the color information in the image, and the special customization equipment of the shoe body is used for positioning the parts needing to be subjected to image and color matching configuration in the three-dimensional model of the shoe body according to the identified target image and color information. Defining the part as a designated part, and rendering the target graph and the color matching information to the corresponding designated part. A user specifies the shoe body components needing color matching and graphic rendering in advance according to actual design requirements, namely the specified components, so as to facilitate the subsequent automatic design of the color matching and the graphic of the shoe body.
Optionally, when the color matching and the graphic setting of the shoe body are performed, a target image is input, and the target image needs to contain a corresponding graphic and a corresponding color, so that the target graphic is detected and identified through the target detection model, and color information is obtained according to the image characteristics of the target graphic. Generally speaking, for the target image input into the customized device specific to the shoe body, it is first determined whether the current target image meets the standard (i.e. whether the current target image contains figures and colors), if yes, the target figure and color information is further detected, and if not, a prompt that the image does not meet the standard is output, so as to inform the user of inputting the correct target image.
Before that, an object detection model needs to be constructed in advance to detect and identify the object pattern. In order to train the target detection model of the target graph, image information including various target graphs needs to be collected as a training data set, and then rectangular frames of the target graph are manually marked from the image information one by one to serve as marking data. And further designing a neural network structure and a loss function of the target detection model of the target graph, and training network parameters of the target detection model of the target graph by using the labeling data. After the model training is completed, the model structure and parameters are saved for subsequent target detection. The detection of the target graph can be adaptively increased or refined according to actual needs. The target detection model may be a YOLOv5 or other target detection model, and the specific detection model is not fixedly limited in the embodiments of the present application and is not described herein again.
And deploying the trained target detection model on the shoe body exclusive customization equipment of the embodiment of the application. The target image input by the user is input into the target detection model, and the detection frame of the target image in the target image can be output through model calculation and processing, so that the detection of the target image is completed.
Further, based on the detected target pattern, it is converted into a vector pattern. Firstly, dividing a rectangular frame of a target graph into four connected regions according to color information; calculating a sub-pixel precision common boundary of the segmentation region; then determining nodes on the boundary, including common boundary points of more than two regions and local curvature extreme points on the boundary; finally, spline curve and straight line fitting are carried out on the point sequence between the nodes; representing the boundary of the vectorization area by using the obtained curve and straight line; representing the colors of the vectorized region by using a color model; and obtaining a vector graph.
The method is used for a target graph which is used for calculating the sub-pixel common boundary of the segmentation region. Firstly, a target graph is segmented by using any segmentation algorithm, in order to achieve the best effect, MeanShift is used for segmenting a real image, a Mask-based rolling ball segmentation algorithm is used for a cartoon image, and the segmented area needs to be guaranteed to be a four-connection area. For the results after the division, a graph enlarged by about one time is constructed. Assuming that the original image size is m × n, a (2m +1) × (2n +1) graph is constructed, in which the dots (2i, 2j) whose coordinates are all even numbers have the same color and division label as the dots (i, j) in the original image, and the remaining dots are inserted blank pixel dots h, and gray dots are used as division results. Different gray points are different blocks, black points are inserted blank points, then the amplified image is traversed once, and whether each inserted blank pixel point belongs to the inside of the region or the public boundary point (white) and whether the pixel point is a node on the boundary (black) is determined.
Under the four-connection segmentation, through the segmentation marking conditions of original segmentation points on four corners (pixel marking numbers 1, 2, 3 and 4 represent different segmentations, wherein the pixel marked with 0 is a blank pixel), whether all inserted blank pixels in one 3 × 3 region are common boundary points (the pixel marked with E is a common boundary point) and whether all inserted blank pixels are common boundary nodes of a plurality of regions (the pixel marked with N is a common boundary node) can be judged. By the simple judgment method, the sub-pixel level accurate public boundary of the region can be judged by only traversing the image once. And then connecting boundary points around each divided region in a counterclockwise direction to form a point sequence, wherein adjacent regions share boundaries with the same coordinates and the opposite sequence, so that the space of the storage boundary is saved, and cracks and coverage during vectorization are prevented.
After determining the point sequence, determining whether a point on the point sequence is a local curvature extreme point, and if the point is the local curvature extreme point, the point is also used as a node of the point sequence. For the common boundary nodes of a plurality of areas, firstly, whether the included angle of the point sequence transmitted by the common boundary nodes is larger than 135 degrees is judged, if yes, the initial tangential directions of the two point sequences are opposite, so that the two point sequences can be ensured to be in smooth transition after fitting, and the vectorized result is greatly beautified. For the point sequence between two nodes, after the two ends are known to be tangent, fitting can be carried out by using a smooth Bez ier curve segment and a straight line segment, and a result of fitting the segmented image by using a curve and a straight line is obtained. For each region, its color can be fitted with a quadratic color model. And finally, vectorizing the region to obtain a corresponding vectorized graph, wherein the final vectorized result is the control vertex coordinates of the curve and straight line boundaries of the region and the parameters of the color model.
Optionally, the conversion of the vector graphics may also perform edge detection on a rectangular frame of the target graphics to determine outline information of the target graphics, which is used for rendering display information for constructing the target graphics. When the edge of the target graph is detected, the outline points of the target graph are roughly detected, the originally detected outline points are connected through a link rule, meanwhile, the missing boundary points are detected and connected, and the false boundary is removed, so that the obtained outline of the target graph is the vector graph of the target graph, and the subsequent rendering of the target graph is performed by using the outline information of the target graph. It should be noted that there are many vectorization manners based on the target graph, and a specific conversion algorithm is not fixedly limited in the embodiment of the present application, which is not described herein again.
On the other hand, if the color information of the vector graphic is not specified in the vector graphic conversion, the image feature of the target graphic is recognized, and the color information can be specified based on the image feature. For example, the target pattern is subjected to binarization processing, and the RGB values of the binarized image are determined. Because different RGB values represent different colors, the RGB color table is inquired according to the RGB values of different areas of the target image, and the color information of the current target image can be determined. There are many ways to perform color recognition based on images, and the specific detection recognition way is not fixedly limited in the embodiments of the present application, which is not described herein repeatedly.
S120, when the shoe body of the current shoe body three-dimensional model is designed, responding to the first operation of the user on the graphic rendering display option, and rendering and displaying the corresponding vector graphics to the specified part of the shoe body three-dimensional model.
Furthermore, based on the determined target graph, the setting operation of the shoe body graph can be carried out, and the design of the shoe body graph is realized. The three-dimensional shoe model is formed by combining a plurality of components by introducing the three-dimensional shoe model with the patterns to be set. When color matching and graphic setting of the three-dimensional model of the shoe body are carried out, all the components in the three-dimensional model of the shoe body, such as the vamp, the shoelace, the tongue, the midsole and the outsole, are firstly determined. And then, selecting the part needing to be subjected to graphic configuration in advance or in real time according to the user, and determining the part as the designated part. And by positioning the position of the designated part, when the shoe body graph is designed, the designated part is selected, and the vector graph is used for rendering and displaying the designated part according to the vector graph obtained by converting the target graph.
For example, in a three-dimensional shoe body model displayed on a current interface, a user clicks a shoe upper as a designated part, a rendering and displaying determination window of a vector graphic pops up by double-clicking the designated part, and the vector graphic can be rendered and displayed on the designated part by clicking the determination window. There are many rendering and displaying modes based on vector graphics, and the application does not make fixed limitation on the specific interaction mode.
S130, in response to a second operation of the user on the vector graph on the shoe body three-dimensional model, rendering the designated color matching information to the vector graph.
Similarly, after the vector graphics are rendered and displayed on the designated component, since the vector graphics in the partial graphics conversion algorithm may not carry graphics color information during conversion, corresponding color information needs to be configured for the vector graphics.
In the embodiment of the application, the color information of the target graph identified before can be correspondingly rendered and displayed on the vector graph by taking the part of the color information as the designated color matching information, according to the actual design requirement, the user can also preset the corresponding designated color matching information, and the designated color matching information is rendered and displayed on the vector graph through the second operation of the user.
For example, referring to fig. 2, when color matching and graphic setting are performed, graphic detection and recognition are performed on a target image input by a user, and then a shoe body rendering display is performed by using the recognized target image. For the three-dimensional model of the shoe body of the import device, each part of the three-dimensional model of the shoe body, including the vamp, the shoelace, the tongue, the midsole, the outsole and other parts, is positioned, the specified part is determined, and then the vector graphics obtained by converting the target graphics are used for rendering and displaying.
Illustratively, the upper is the designated element. When a user wants to convert the image characteristics of a favorite target image to the designed shoe body, the target image is input into the shoe body exclusive customization equipment. After the target image is input into the exclusive shoe body customizing device, the exclusive shoe body customizing device firstly determines the target image and the corresponding color information, and converts the target image into a vector image. And then when carrying out shoes body design, the vamp of location shoes body three dimensional model renders the vector graphics to vamp position department, and then uses the appointed information of matching colors to carry out the rendering display of matching colors of vector graphics to this shoes body design of accomplishing this application embodiment.
Optionally, the shoe body exclusive customization equipment can also identify color information of the target graph, and a color matching rendering option is constructed based on the color information for selecting color matching rendering display of the shoe body three-dimensional model. When the user sets the color matching of the shoe body, the user can also set the color matching by selecting the corresponding color matching rendering option. And more convenient and personalized color matching rendering display is realized.
And performing color matching rendering display operation of the target component on the three-dimensional shoe body model based on the color matching rendering option by responding to a third operation of the user on the target component. The shoe body three-dimensional model color matching method based on the display selection list comprises the steps that the shoe body three-dimensional model color matching is set to be an example by using a shoe tongue color matching setting, when the shoe tongue color matching setting is carried out, the exclusive shoe body customization device is used for a user to conduct rendering display option selection through the display selection list, the user interacts with the exclusive shoe body customization device, the rendering display option containing corresponding color information in the selection list is selected in a hooking mode, then the color matching information of the rendering display option selected by the user is determined, and the color matching information is used for the shoe tongue color matching setting of the current shoe body three-dimensional model.
Similarly, corresponding rendering display options can be constructed for the vector graphics for the user to select by himself, so that a more personalized shoe body design effect is achieved. For example, when the user needs to render and display the vector graphics on the tongue, by checking the rendering and displaying options corresponding to the vector graphics, the vector graphics in the rendering and displaying options are extracted by positioning the tongue target component of the shoe body three-dimensional model, and the vector graphics are used for performing the graphics rendering and displaying of the tongue of the current shoe body three-dimensional model.
By analogy, different rendering display options are selected, a corresponding target component is found based on the rendering display options, color matching information or vector graphics in the rendering display options are further extracted, and the target component of the current shoe body three-dimensional model is rendered and displayed by using the color matching information or the vector graphics. Corresponding to different target components of the three-dimensional model of the shoe body, a user can quickly and accurately convert some favorite figures or color matching to the shoe body designed by the user by checking different rendering display options, so that the color matching and the figure setting of the shoe body are greatly facilitated, and the design experience of the user is optimized.
In one embodiment, if the user has selected the rendering display option of the vector graphic and the corresponding color matching information, the corresponding color information is rendered and displayed to the bottom layer of the target component, and the vector graphic is rendered and displayed to the top layer of the target component. It can be understood that when the vector graphics and the color information are displayed on the same target component, if the vector graphics are rendered on the bottom layer and the color information is rendered on the top layer, the vector graphics are covered by the color information, and the display of the vector graphics is affected. Based on the method, the color information is rendered and displayed to the bottom layer of the specified component, and the vector graphics are rendered and displayed to the top layer of the specified component, so that the stability of rendering and displaying of the vector graphics is achieved, and the successful rendering and displaying of the graphics are ensured.
In another embodiment, if the user selects a plurality of rendering and displaying options of the color matching information, the corresponding plurality of color information is respectively rendered and displayed to different layers or different areas of the target component. It is to be understood that, when the rendering display option includes a plurality of color information, the rendering display of the target component is performed using the plurality of color information. For example, when a plurality of color information rendering displays are performed on the target image shoe upper, a plurality of color schemes are rendered and displayed to different layers or different areas of the target component when shoe upper color schemes of the three-dimensional shoe body model are performed. The three-dimensional model of the shoe body divides different layers or different areas of the vamp in advance so as to be convenient for carrying out a plurality of color matching settings subsequently. Therefore, the color matching of the target image can be converted into the three-dimensional model of the shoe body as much as possible, and the flexibility of color matching setting is improved.
Optionally, when the target component includes a plurality of layers, performing color rendering display of the top layer, the bottom layer, or the designated layer of the target component based on the color rendering options. For example, in the case of an upper for a shoe, the upper may include multiple layers, with different layers being overlapped together. When the color matching rendering is carried out on the vamp, the color matching information only contains one piece of color information, and if the color matching rendering display of the whole vamp is carried out based on the color information, the display effect is relatively poor. In order to embody the layering sense among different layers of the vamp, one of the layers can be selected for color matching rendering display. Therefore, the embodiment of the application optimizes the color matching setting effect by selecting the top layer, the bottom layer or the layer pre-designated by the user for rendering and displaying.
In one embodiment, if a plurality of color matching rendering options are available, each color matching rendering option is randomly selected, and color matching rendering display of the rest layers of the current target component is performed. And performing color matching rendering display on the rest layers of the target component by randomly selecting the rendering display options of each color matching information. It will be appreciated that for a multi-level target component, only one color information is used to render and display one of the levels, and for the remaining levels, color-matching rendering may be performed according to a pre-constructed color-matching rendering option, so that the color-matching setting of the target component meets the actual needs of the user.
In another embodiment, in a scene in which a graphic rendering display of a designated component is performed based on a rendering display option of a vector graphic selected by a user, when the designated component includes a plurality of layers or areas, a graphic rendering display of a designated area or a designated layer of the designated component is performed based on the vector graphic. It will be appreciated that if the designated component includes multiple levels, placing the vector graphics at some level (e.g., the bottom level) may result in the vector graphics being obscured by other upper levels. Based on the method, vector graphics are rendered and displayed by presetting a partial area or a layer of a designated component, so that the stability of vector graphics rendering and displaying is guaranteed, and the graphics are successfully rendered and displayed.
Optionally, for the rendering display options selected by each target component, in the embodiment of the application, a mapping relationship between the designated component and the designated color matching information is constructed, where the mapping relationship is used for a user to select a color matching setting operation. It will be appreciated that for each target component and its rendering display options used, color matching and one-key configuration of vector graphics may be performed subsequently in the design of other three-dimensional models of the shoe body based on the mapping. The user only needs to query the mapping relation according to the target component needing to be designed of the current shoe body three-dimensional model and determine the mapping relation containing the corresponding component information, and then the rendering display options in the mapping relation can be extracted to carry out the configuration of the current target component. The shoe body design is faster and more efficient, and the shoe body customization experience of a user is further optimized.
The target image input by the user is received, the target graph in the target image is identified, the target graph is converted into the vector graph, and the graph rendering display option is constructed based on the vector graph; when the shoe body of the current shoe body three-dimensional model is designed, in response to a first operation of a user on a graphic rendering display option, rendering and displaying a corresponding vector graphic to a specified part of the shoe body three-dimensional model; and in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering the specified color matching information on the vector graphics. By adopting the technical means, the efficiency of setting the figure and the color matching of the shoe body can be improved, the design effect of the figure and the color matching is optimized, the flexibility of customizing the shoe body is improved, and the technical problems of complexity and inconvenience in the process of setting the figure and the color matching of the shoe body are solved.
Example two:
on the basis of the above embodiments, fig. 3 is a schematic structural diagram of a shoe body exclusive customization device based on graphic elements and color matching data according to the second embodiment of the present application. Referring to fig. 3, the customized device for shoe body based on graphic elements and color matching data provided in this embodiment specifically includes: a conversion module 21, a graphics rendering module 22, and a color matching rendering module 23.
The conversion module 21 is configured to receive a target image input by a user, identify a target graphic in the target image, convert the target graphic into a vector graphic, and construct a graphic rendering display option based on the vector graphic;
the graphics rendering module 22 is configured to render and display the corresponding vector graphics onto a designated part of the shoe body three-dimensional model in response to a first operation of the graphics rendering and displaying option performed by the user when the shoe body design of the current shoe body three-dimensional model is performed;
and the color matching rendering module 23 is used for rendering the specified color matching information to the vector graphics in response to the second operation of the user on the vector graphics on the shoe body three-dimensional model.
In particular, the shoe body exclusive customization device based on the graphic elements and the color matching data is also used for:
after the target graph in the target image is identified, the method further comprises the following steps:
and identifying the color information of the target graph, and constructing a color matching rendering option based on the color information so as to select the color matching rendering display of the shoe body three-dimensional model.
Further, after a color matching rendering option is built based on the color information, responding to a third operation of a target component on the three-dimensional shoe body model by a user, and performing color matching rendering display operation of the target component based on the color matching rendering option;
when the target component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching rendering options;
after color matching rendering display of the top layer, the bottom layer or the designated layer of the target component is performed based on the color matching rendering options, if a plurality of color matching rendering options are available, randomly selecting each color matching rendering option, and performing color matching rendering display of the rest layers of the target component;
when the designated component comprises a plurality of layers or areas, performing graphic rendering display of the designated area or designated layer of the designated component based on the vector graphics;
and after rendering the specified color matching information on the vector graphics, constructing a mapping relation between the specified component and the specified color matching information, wherein the mapping relation is used for a user to select color matching setting operation.
The target image input by the user is received, the target graph in the target image is identified, the target graph is converted into the vector graph, and the graph rendering display option is constructed based on the vector graph; when the shoe body of the current shoe body three-dimensional model is designed, in response to a first operation of a user on a graphic rendering display option, rendering and displaying a corresponding vector graphic to a specified part of the shoe body three-dimensional model; and in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering the specified color matching information on the vector graphics. By adopting the technical means, the efficiency of setting the figure and the color matching of the shoe body can be improved, the design effect of the figure and the color matching is optimized, the flexibility of customizing the shoe body is improved, and the technical problems of complexity and inconvenience in the process of setting the figure and the color matching of the shoe body are solved.
The sole exclusive customization device based on the graphic elements and the color matching data provided by the second embodiment of the application can be used for executing the sole exclusive customization method based on the graphic elements and the color matching data provided by the first embodiment of the application, and has corresponding functions and beneficial effects.
Example three:
an embodiment of the present application provides an electronic device, and with reference to fig. 4, the electronic device includes: a processor 31, a memory 32, a communication module 33, an input device 34, and an output device 35. The number of processors in the electronic device may be one or more, and the number of memories in the electronic device may be one or more. The processor 31, the memory 32, the communication module 33, the input device 34 and the output device 35 of the electronic apparatus may be connected by a bus or other means.
Memory 32 may be implemented as a computer-readable storage medium that may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for shoe-specific customization based on graphical elements and color matching data described in any of the embodiments of the present application (e.g., a conversion module, a graphical rendering module, and a color matching rendering module in a shoe-specific customization device based on graphical elements and color matching data). The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory may further include memory remotely located from the processor, which may be connected to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes the software programs, instructions and modules stored in the memory so as to execute various functional applications and data processing of the device, namely, the shoe body exclusive customization method based on the graphic elements and the color matching data is realized.
The input device 34 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 35 may include a display device such as a display screen.
The electronic device provided above can be used to implement the shoe body customization method based on the graphic elements and the color matching data provided in the first embodiment above, and has corresponding functions and advantages.
Example four:
embodiments of the present application also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for customized shoe body customization based on graphical elements and color matching data, the method for customized shoe body customization based on graphical elements and color matching data comprising: receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph; when the shoe body of the current shoe body three-dimensional model is designed, responding to a first operation of a user on the graphic rendering display option, and rendering and displaying the corresponding vector graphics to a specified part of the shoe body three-dimensional model; in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering specified color matching information onto the vector graphics.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations, e.g., in different computer systems connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer executable instructions, which are not limited to the above-mentioned shoe body-specific customization method based on the graphic elements and the color matching data, but can also perform the related operations in the shoe body-specific customization method based on the graphic elements and the color matching data provided in any embodiments of the present application.
The sole customization device, the storage medium and the electronic device based on the graphic elements and the color matching data provided in the above embodiments can execute the sole customization method based on the graphic elements and the color matching data provided in any embodiments of the present application, and the technical details not described in detail in the above embodiments can be referred to the sole customization method based on the graphic elements and the color matching data provided in any embodiments of the present application.
The foregoing is considered as illustrative only of the preferred embodiments of the invention and the principles of the technology 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 (10)

1. A shoe body exclusive customization method based on graphic elements and color matching data is characterized by comprising the following steps:
receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph;
when the shoe body of the current shoe body three-dimensional model is designed, responding to a first operation of a user on the graphic rendering display option, and rendering and displaying the corresponding vector graphics to a specified part of the shoe body three-dimensional model;
in response to a second operation of the user on the vector graphics on the three-dimensional model of the shoe body, rendering specified color matching information onto the vector graphics.
2. The method of claim 1, further comprising, after identifying the target graphic in the target image:
and identifying the color information of the target graph, and constructing a color matching rendering option based on the color information so as to select the color matching rendering display of the shoe body three-dimensional model.
3. The method of claim 2, further comprising, after constructing a color rendering option based on the color information, the step of:
responding to a third operation of the user on a target component on the shoe body three-dimensional model, and performing color matching rendering display operation on the target component based on the color matching rendering option.
4. The shoe body-specific customization method based on graphic elements and color matching data according to claim 3, wherein the performing of the color matching rendering display operation of the target component based on the color matching rendering option comprises:
and when the target component comprises a plurality of layers, performing color matching rendering display on the top layer, the bottom layer or the designated layer of the target component based on the color matching rendering options.
5. The method of claim 4, further comprising, after the displaying of the color rendering of the top, bottom, or designated level of the target component based on the color rendering option:
and if the plurality of color matching rendering options are available, randomly selecting each color matching rendering option, and performing color matching rendering display on the rest layers of the current target component.
6. The shoe body-specific customization method based on graphic elements and color matching data according to claim 1, wherein said rendering and displaying the corresponding vector graphics onto a designated part of the three-dimensional model of the shoe body comprises:
and when the designated component comprises a plurality of layers or areas, performing graphic rendering display of the designated area or designated layer of the designated component based on the vector graphics.
7. The method of claim 1, further comprising, after rendering specified color matching information onto the vector graphics:
and constructing a mapping relation between the designated component and the designated color matching information, wherein the mapping relation is used for a user to select color matching setting operation.
8. The utility model provides a shoes exclusive customization device of body based on graphic element and match colors data which characterized in that includes:
the conversion module is used for receiving a target image input by a user, identifying a target graph in the target image, converting the target graph into a vector graph, and constructing a graph rendering display option based on the vector graph;
the graphics rendering module is used for responding to a first operation of a user on the graphics rendering display option when the shoe body of the current shoe body three-dimensional model is designed, and rendering and displaying the corresponding vector graphics to a specified part of the shoe body three-dimensional model;
and the color matching rendering module is used for rendering the specified color matching information to the vector graphics in response to a second operation of the user on the vector graphics on the shoe body three-dimensional model.
9. An electronic device, comprising:
a memory and one or more processors;
the memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7 for shoe body-specific customization based on graphical elements and color matching data.
10. A storage medium containing computer-executable instructions for performing the method of shoe body-specific customization based on graphical elements and color matching data according to any one of claims 1-7 when executed by a computer processor.
CN202210130285.5A 2022-02-11 2022-02-11 Shoe body exclusive customization method and device based on graphic elements and color matching data Pending CN114612606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210130285.5A CN114612606A (en) 2022-02-11 2022-02-11 Shoe body exclusive customization method and device based on graphic elements and color matching data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210130285.5A CN114612606A (en) 2022-02-11 2022-02-11 Shoe body exclusive customization method and device based on graphic elements and color matching data

Publications (1)

Publication Number Publication Date
CN114612606A true CN114612606A (en) 2022-06-10

Family

ID=81859176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210130285.5A Pending CN114612606A (en) 2022-02-11 2022-02-11 Shoe body exclusive customization method and device based on graphic elements and color matching data

Country Status (1)

Country Link
CN (1) CN114612606A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177525A (en) * 2008-07-29 2011-09-07 彩滋网站公司 Product customization system and method
CN104040581A (en) * 2011-08-30 2014-09-10 彩滋公司 Applying manufacturing patterns to the automated production of an interactive, customizable product
CN105074749A (en) * 2013-01-17 2015-11-18 耐克创新有限合伙公司 Visual shopping
CN107464156A (en) * 2016-06-02 2017-12-12 阿迪达斯股份公司 For manufacturing the method and system of clothes
CN109219835A (en) * 2016-01-06 2019-01-15 维福穿戴产品公司 The generation of the customization wearable article of 3 D-printing
CN109375886A (en) * 2018-11-29 2019-02-22 程志鹏 A kind of customized pattern forming method
CN111095258A (en) * 2017-06-29 2020-05-01 最佳应用有限责任公司 Computer-assisted system and method for creating customized products
CN111295668A (en) * 2017-10-31 2020-06-16 耐克创新有限合伙公司 Image registration for printing
CN111612880A (en) * 2020-05-28 2020-09-01 广州欧科信息技术股份有限公司 Three-dimensional model construction method based on two-dimensional drawing, electronic device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177525A (en) * 2008-07-29 2011-09-07 彩滋网站公司 Product customization system and method
CN104040581A (en) * 2011-08-30 2014-09-10 彩滋公司 Applying manufacturing patterns to the automated production of an interactive, customizable product
CN105074749A (en) * 2013-01-17 2015-11-18 耐克创新有限合伙公司 Visual shopping
CN109219835A (en) * 2016-01-06 2019-01-15 维福穿戴产品公司 The generation of the customization wearable article of 3 D-printing
CN107464156A (en) * 2016-06-02 2017-12-12 阿迪达斯股份公司 For manufacturing the method and system of clothes
CN111095258A (en) * 2017-06-29 2020-05-01 最佳应用有限责任公司 Computer-assisted system and method for creating customized products
CN111295668A (en) * 2017-10-31 2020-06-16 耐克创新有限合伙公司 Image registration for printing
CN109375886A (en) * 2018-11-29 2019-02-22 程志鹏 A kind of customized pattern forming method
CN111612880A (en) * 2020-05-28 2020-09-01 广州欧科信息技术股份有限公司 Three-dimensional model construction method based on two-dimensional drawing, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN112348815B (en) Image processing method, image processing apparatus, and non-transitory storage medium
CN109670558B (en) Digital image completion using deep learning
US20200374600A1 (en) Method for Embedding Advertisement in Video and Computer Device
CN114155328A (en) Shoe body exclusive customization method and device based on graphic elements and color matching data
CN109771951B (en) Game map generation method, device, storage medium and electronic equipment
CN114399615A (en) Efficient shoe color matching setting method and device based on three-dimensional model
US11580665B2 (en) Image positioning system and image positioning method based on upsampling
CN110992384B (en) Semi-automatic image data labeling method, electronic device and storage medium
US20220414892A1 (en) High-precision semi-automatic image data labeling method, electronic apparatus, and storage medium
CN114445554A (en) Special customization method and device for shoe body, electronic equipment and storage medium
CN114612607A (en) Shoe body design method and device based on three-dimensional model
CN113989167A (en) Contour extraction method, device, equipment and medium based on seed point self-growth
CN114937050A (en) Green curtain matting method and device and electronic equipment
CN112717414A (en) Game scene editing method and device, electronic equipment and storage medium
CN113658316B (en) Rendering method and device of three-dimensional model, storage medium and computer equipment
CN115601283B (en) Image enhancement method and device, computer equipment and computer readable storage medium
CN114612606A (en) Shoe body exclusive customization method and device based on graphic elements and color matching data
CN114612608A (en) Image recognition-based shoe body exclusive customization method and device
CN115375847B (en) Material recovery method, three-dimensional model generation method and model training method
CN109215049B (en) Roof segmentation method, system and equipment based on multi-scale three-dimensional prior information
CN115456917B (en) Image enhancement method, device, equipment and medium beneficial to accurate target detection
CN117788679B (en) Map data generation method, map data generation device, electronic equipment and storage medium
CN114861247B (en) Method, device, equipment and storage medium for generating shoe body model based on simple design
KR102102369B1 (en) Method and apparatus for estimating matching performance
CN117036599A (en) Virtual data set generation method and device, electronic equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220610

RJ01 Rejection of invention patent application after publication