CN115018953A - Method and device for determining color and texture of shoe body, electronic equipment and storage medium - Google Patents

Method and device for determining color and texture of shoe body, electronic equipment and storage medium Download PDF

Info

Publication number
CN115018953A
CN115018953A CN202210934336.XA CN202210934336A CN115018953A CN 115018953 A CN115018953 A CN 115018953A CN 202210934336 A CN202210934336 A CN 202210934336A CN 115018953 A CN115018953 A CN 115018953A
Authority
CN
China
Prior art keywords
texture
color
design
shoe body
features
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210934336.XA
Other languages
Chinese (zh)
Other versions
CN115018953B (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 CN202210934336.XA priority Critical patent/CN115018953B/en
Publication of CN115018953A publication Critical patent/CN115018953A/en
Application granted granted Critical
Publication of CN115018953B publication Critical patent/CN115018953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • 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)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a method and a device for determining color and texture of a shoe body, electronic equipment and a storage medium, and belongs to the technical field of Internet of things. The method comprises the following steps: acquiring a reference picture, and identifying at least one design reference object in the reference picture; extracting color features and texture features of the design reference object; in a shoe body design interface, acquiring at least one colored area of a shoe body; and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body. According to the technical scheme, the color and texture attributes of each area in the shoe body design process are determined by extracting the color and texture features of the design reference object, so that the design efficiency is improved, and the shoe body design integrity is stronger.

Description

Method and device for determining color and texture of shoe body, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of Internet of things, and particularly relates to a method and a device for determining color and texture of a shoe body, electronic equipment and a storage medium.
Background
With the rapid development of the technology level, the requirements of people for daily wearing of equipment are gradually increased. Particularly with respect to the wearing of footwear, the differences in the design of footwear under different requirements are large.
At present, a plurality of areas are divided firstly to the design of vamp, and different colourings are adopted in every area again, carry out the vamp design, and design wholeness performance is not good like this, and at present masses aesthetic concept's gradual promotion, regional independent design has hardly can accord with masses' aesthetic demand, and holistic associated design again consumes the more time of designer, and efficiency receives the influence. Therefore, in the process of designing the shoe body, the time can be saved for designers, the efficiency is improved, the integrity of shoe body design is stronger, and the technical problem to be solved by the technicians in the field is urgently needed.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for determining the color and texture of a shoe body, an electronic device and a storage medium, which can solve the problems that the overall associated design consumes more time of designers and the efficiency is affected, so that the efficiency of the designers is improved to a certain extent.
In a first aspect, an embodiment of the present application provides a method for determining a color and a texture of a shoe body, where the method includes:
acquiring a reference picture, and identifying at least one design reference object in the reference picture;
extracting color features and texture features of the design reference object;
in a shoe body design interface, acquiring at least one colored area of a shoe body;
and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body.
Further, extracting the color feature and the texture feature of the design reference object includes:
determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range by a color extractor, and identifying texture information in the reference range based on a texture recognition algorithm;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
Further, extracting color features and texture features of the design reference object includes:
determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range through a pre-constructed color extraction model, and extracting texture information in the reference range through a pre-constructed texture extraction model;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
Further, if the reference range determination operation in the design reference object is not detected, the design reference object is used as an acquisition object of the color information and the texture information.
Further, the color information includes color RGB value information or color gradation information;
the texture information includes at least one of texture density information, texture depth information, and texture width information.
Further, after extracting the color feature and the texture feature of the design reference object, the method further includes:
determining a combination scheme of the color features and the texture features according to the extraction quantity of the color features and the extraction quantity of the texture features;
and displaying the combination schemes in a list form in a candidate design column of the shoe body design interface.
Further, coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect graph of the shoe body, wherein the coloring effect graph comprises the following steps:
in a candidate design column of a shoe body design interface, in response to a combination scheme selection operation, determining a combination scheme for rendering;
and coloring at least one coloring area by adopting the color characteristics and the texture characteristics included in the combined scheme according to the combined scheme for rendering to obtain a coloring effect graph of the shoe body.
In a second aspect, the present application provides an apparatus for determining color and texture of a shoe body, the apparatus including:
the picture acquisition module: the system comprises a processor, a memory and a controller, wherein the processor is used for acquiring a reference picture and identifying at least one design reference object in the reference picture;
a feature extraction module: extracting color features and texture features of the design reference object;
an area acquisition module: for obtaining at least one colored region of a shoe body in a shoe body design interface;
a coloring module: the color effect map is used for coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect map of the shoe body.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, 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, embodiments of the present application provide 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, a reference picture is obtained, and at least one design reference object in the reference picture is identified; extracting color features and texture features of the design reference object; in a shoe body design interface, acquiring at least one colored area of a shoe body; and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body. According to the technical scheme, the color and texture attributes of each area in the shoe body design process are determined by extracting the color and texture features of the design reference object, so that the design efficiency is improved, and the shoe body design integrity is stronger.
Drawings
FIG. 1 is a schematic flow chart of a method for determining color and texture of a shoe according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for determining color and texture of a shoe according to the second embodiment of the present application;
FIG. 3 is a schematic flow chart of a method for determining color and texture of a shoe according to the second embodiment of the present application;
FIG. 4 is a schematic flow chart of a method for determining color and texture of a shoe according to the second embodiment of the present application;
FIG. 5 is a schematic flowchart of a method for determining color and texture of a shoe according to a second embodiment of the present application;
FIG. 6 is a schematic structural diagram of a device for determining color and texture of a shoe body provided in the third embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth 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. A process may be terminated when its operations are completed, but could have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
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 may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the 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 method, the apparatus, the electronic device and the storage medium for determining color and texture of a shoe body provided in the embodiments of the present application are described in detail with reference to the accompanying drawings.
The first embodiment is as follows:
FIG. 1 is a schematic flow chart of a method for determining color and texture of a shoe body according to the present application.
As shown in fig. 1, the method specifically comprises the following steps:
s101, acquiring a reference picture, and identifying at least one design reference object in the reference picture.
The use scene of this scheme carries out the design of shoes body for the designer through intelligent terminal, and in this process, can involve designing shoes body colour characteristic and shoes body texture characteristic data etc.. Specifically, the shoe body design can be performed in a mode of running design software on an intelligent terminal or in a mode of accessing a design page through a browser. The intelligent terminal can be a smart phone, a tablet computer or a notebook computer.
The following description will be given by taking a notebook computer as an execution main body of the intelligent terminal device as an example.
The reference picture in this embodiment is to provide design inspiration for designers, and may be a dynamic picture or a static picture, or a landscape picture, an animal picture, a building picture, or the like. The design reference object may be an animal, a plant, a building, and the like in the reference picture.
The reference picture can be obtained by a designer downloading pictures according to the design style of the shoe body, or the pictures provided by a consumer to the designer. The mode of identifying the design reference object in the reference picture can be identified by automatic identification software installed in the notebook computer. The design reference object can be a preset image in the automatic identification software, such as an animal image, a plant image, a building image and the like.
Specifically, after the designer obtains the reference picture, the image recognition software mounted in the design software recognizes the reference picture and obtains one or more reference objects. For example, if the reference picture is a static landscape picture, the image recognition software may recognize butterflies, flowers, buildings, etc. in the reference picture. And the designer carries out further design according to the identified reference objects such as butterflies, flowers and buildings.
And S102, extracting the color feature and the texture feature of the design reference object.
The color features may include hue, lightness, saturation, etc., and the texture features may include roughness, contrast, orientation, regularity, etc. Illustratively, the color characteristics are hue 75%, lightness 50%, and saturation 80%, and the texture characteristics are roughness 35%, contrast 50%, and regularity 75%.
The way of extracting the color feature and the texture feature of the design reference object may be that a designer manually records the color feature and the texture feature, or may be a way of screening by inputting a desired pattern feature and a background feature.
S103, acquiring at least one coloring area of the shoe body in the shoe body design interface.
In this embodiment, the shoe design interface can be displayed in the form of a window, or the entire screen of a laptop can be displayed as the shoe design interface. The colored region may refer to a toe region of the shoe body or a lateral region of the shoe body, etc. The manner of obtaining the colored areas of the shoe body may be determined by input operations of the designer. For example, the designer may enter the number of one or more colored regions. Because the style or applicable crowd of the shoes body that the designer designed is different, therefore the designer will select different shoes body colored region according to color characteristic and textural feature in every design.
And S104, coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body.
The coloring effect map of the shoe body can be displayed in a 3D effect on the design interface of the shoe body, so that a designer can conveniently observe the coloring areas where different color characteristics and different texture characteristics are positioned and the effect in the whole shoe body. The coloring effect picture of the shoe body can be displayed in an automatic slow rotation mode and can be automatically adjusted according to the coloring area to be observed. Specifically, after the designer inputs one or more colored areas, the position of the input area is correspondingly adjusted to the midpoint of the shoe body design interface, and further, color features and texture features conforming to the style of the shoe body are selected for coloring. For example, the body of a sports shoe is designed, the outer area of the sports shoe is obtained as a colored area, and the position of the outer area of the shoe body at the center of the shoe body design interface is automatically adjusted. The method for coloring by adopting the color characteristics and the texture characteristics can be implemented by inputting the color characteristics and the texture characteristics in a tool bar at the right side of a shoe body design interface by a designer, inputting one or more coloring areas and displaying the coloring effect on the shoe body design interface for the designer to observe and adjust.
In the embodiment of the application, the reference picture is obtained, and at least one design reference object in the reference picture is identified, so that the design inspiration of designers can be increased; the color and texture attributes of each region in the shoe body design process are determined by extracting the color features and the texture features of the design reference object, so that the design efficiency is improved; in a shoe body design interface, acquiring at least one colored area of a shoe body; and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body, so that designers can observe and adjust the overall effect conveniently, and the design integrity of the shoe body is improved.
Example two
Fig. 2 is a flow chart of a method for determining the color and texture of a shoe body according to the second embodiment of the present application, which is an embodiment of the method for determining the color and texture of a shoe body.
Referring to fig. 2, extracting color features and texture features of a design reference object includes:
s201, in response to a reference range determination operation in designing a reference object, determining a reference range in designing the reference object.
The reference range may be a range of a certain part of the design reference object, such as a range of butterfly wings, a range of a house roof, a range of a trunk of a big tree, and the like.
The operation of determining the reference range in response to the design reference object may be to automatically enlarge the design reference object when the design reference object is recognized by the image recognition software, and to respond to the operation of determining the reference range when the enlargement operation is detected. The reference range determining operation can be a range of manually capturing a picture from the identified design reference object by a designer according to the design requirement of the designer, the captured picture range can be displayed in the center of a shoe body design interface in a picture mode, a dialog box can be automatically popped up to delete or store for the designer to select after the display is carried out for 3 seconds, and the captured range can be determined to be the reference range.
S202, extracting color information in the reference range by the color extractor, and identifying texture information in the reference range based on a texture recognition algorithm.
The color extractor may be software installed on a notebook computer or may be a color extractor web page. The color information may be recognized according to human perception of color, such as warm tone information and cool tone information. The texture recognition algorithm may include a local texture recognition algorithm and a global texture recognition algorithm. The texture information can embody surface properties, such as texture variation amplitude, of a scene or an object corresponding to the image or the image area.
The manner of extracting the color information in the reference range by the color extractor may be to select a picture to be color extracted after entering the color extraction software and/or the web page, and click a color extraction button to extract the color. The texture information identified by the texture identification algorithm can reflect the comprehensive information of the image gray level on the direction, the adjacent interval, the change amplitude and the like by a GLCM gray level co-occurrence matrix method. The GLCM gray level co-occurrence matrix method is to calculate a gray level image to obtain a co-occurrence matrix thereof, and then calculate the co-occurrence matrix to obtain a part of characteristic values of the matrix to respectively represent some texture information of the image. Specifically, in this embodiment, a reference range picture is obtained in color extraction software, color extraction is performed on the reference range picture, and the color information is stored. And judging whether a local texture recognition algorithm or a global texture recognition algorithm is adopted by the reference picture, recognizing texture information in the reference range picture, and storing the texture information.
S203, constructing color features based on the color information and constructing texture features based on the texture information.
For example, when the color information is warm tone information, the saturation, brightness, hue, and the like of the color may be adjusted according to the warm tone. When the texture information is the variation amplitude of the texture, the roughness, the contrast, the regularity and the like of the texture can be adjusted according to the variation amplitude of the texture.
In the embodiment of the application, by determining the reference range in the design reference object, extracting the color information and the texture information in the reference range, constructing the color feature based on the color information and constructing the texture feature based on the texture information, a designer can more accurately design the whole effect of shoe body design according to the identified color information and texture information.
In each of the above technical solutions, optionally, if the reference range determination operation in the design reference object is not detected, the design reference object is used as an acquisition object of the color information and the texture information.
The acquisition object may be an object for extracting color information and texture information, and may also be an animal, a plant, a building, and the like. Specifically, the designer can determine the reference range according to actual requirements, when the designer considers that the identified design reference object can be used as the acquisition object, the required reference range is the whole design reference object, partial areas of the design reference object do not need to be intercepted, a storage or deletion dialog box does not pop up, and the reference range determination operation in the design reference object cannot respond. The method can effectively avoid the need of re-operation due to the fact that the designer deletes the determined reference range picture by mistake, and further improves the design efficiency.
In each of the above technical solutions, optionally, the color information includes color RGB value information or color gradient information; the texture information includes at least one of texture density information, texture depth information, and texture width information.
The RGB value information is various colors obtained by variation of three color channels of red (R), green (G), and blue (B) and superposition of them with each other, and may be represented by yellow (255, 255, 0), gray (192, 192, 192), or the like. The color gradient information may reflect information that a color transitions from light to dark, or from dark to light, or slowly from one color to another, i.e., an average transition value between 0 and 100% saturation or between 0 and 100% lightness for one color. The texture density information may be the relation between different textures in the 3D scene, which may be represented as 3 strips per centimeter. The texture depth information may be used to represent the depth of the texture, such as 0.3 millimeters. The texture width information may be used to indicate the width of the texture, such as 0.5 cm.
In the embodiment of the application, the color characteristics and the texture characteristics of the colored area can be accurately determined through the color information and the texture information, and the design effect of the shoe body is effectively improved.
Fig. 3 is a flow chart of a method for determining the color and texture of a shoe body according to the second embodiment of the present application, which is an embodiment of the method for determining the color and texture of a shoe body.
Referring to fig. 3, extracting color features and texture features of a design reference object includes:
s301, in response to the reference range determination operation in the design reference object, determining a reference range in the design reference object.
S302, extracting color information in the reference range through a pre-constructed color extraction model, and extracting texture information in the reference range through a pre-constructed texture extraction model.
The color extraction model is a model constructed based on the design habit of the historical design process or the custom color information with higher popularity; the texture extraction model is also a model constructed according to the design habit of the historical design process and the texture information with higher popularity. Specifically, in this embodiment, the reference range picture is input to the color extraction model, and the color extraction model extracts color information that meets the preset requirement. Similarly, the reference range picture is input into the texture extraction model, and the texture extraction model extracts the color information which is in accordance with the preset color information
S303, constructing color features based on the color information and constructing texture features based on the texture information.
In the embodiment of the application, the color information in the reference range is extracted through the pre-constructed color extraction model, and the texture information in the reference range is extracted through the pre-constructed texture extraction model, so that designers are prevented from inputting and extracting information one by one in the design process, and the efficiency of shoe body design is further improved.
FIG. 4 is a schematic flow chart of a method for determining color and texture of a shoe according to the second embodiment of the present application;
referring to fig. 4, after extracting color features and texture features of the design reference object, the method further includes:
s401, acquiring a reference picture, and identifying at least one design reference object in the reference picture.
S402, extracting color features and texture features of the design reference object.
And S403, determining a combination scheme of the color features and the texture features according to the extraction number of the color features and the extraction number of the texture features.
The number of color feature extractions may be determined by the number of design reference objects and the reference range. Specifically, the larger the number of design reference objects, the larger the reference range, and the larger the amount of extracted data of the color features. Similarly, the extracted data amount of the texture features may also be determined by the number of design reference objects or the reference range, and the larger the number of design reference objects is, the larger the reference range is, the more the extracted data amount of the texture features is. The number of color feature extractions and the number of texture feature extractions may also be decided by the designer at his or her discretion. Specifically, if there are more color features and texture features required in the shoe body design process, a designer is required to extract a greater number of design reference objects and further extract the color features and the texture features.
The combination scheme is a scheme consisting of color features and texture features, different color features and texture features are combined according to design experience and actual requirements of designers, the combination scheme is directly selected in the shoe body design process, the color features and the texture features are prevented from being selected one by one to be matched, and the shoe body design efficiency is further improved. Illustratively, the color features of hue 75%, lightness 50%, and saturation 80% are combined with the texture features of coarseness 35%, contrast 50%, and regularity 75%.
Specifically, the number of color feature extractions and the number of texture feature extractions may be the same or different. One texture feature may be combined with multiple texture features and one texture feature may be combined with multiple color features.
S404, displaying the combination scheme in a list form in a candidate design column of the shoe body design interface.
The candidate design bar may be disposed above the shoe body design interface. The combination scheme is displayed in a list form, so that the color features and the texture features can be in one-to-one correspondence and displayed in the same row, a designer can conveniently and visually observe the combination relationship between the color features and the texture features, and the required combination scheme can be quickly selected.
S405, in the shoe body design interface, at least one coloring area of the shoe body is obtained.
S406, coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body.
In the embodiment of the application, the combination scheme of the color features and the texture features is determined according to the extraction number of the color features and the extraction number of the texture features, so that the color features and the texture features can be prevented from being selected one by one to be matched. The combination schemes are displayed in a candidate design column of the shoe body design interface in a list mode, so that designers can visually observe the combination relation between the color features and the texture features conveniently, the required combination schemes are selected quickly, and the shoe body design efficiency is improved. S403, in the shoe body design interface, at least one coloring area of the shoe body is obtained.
FIG. 5 is a schematic flow chart of a method for determining color and texture of a shoe according to an embodiment of the present application;
referring to fig. 5, coloring at least one colored region with color features and texture features to obtain a coloring effect map of the shoe body, comprising:
s501, acquiring a reference picture, and identifying at least one design reference object in the reference picture.
And S502, extracting the color feature and the texture feature of the design reference object.
S503, determining a combination scheme of the color features and the texture features according to the extraction number of the color features and the extraction number of the texture features.
S504, displaying the combination scheme in a list form in a candidate design column of the shoe body design interface.
And S505, in the candidate design column of the shoe body design interface, responding to the selection operation of the combination scheme, and determining the combination scheme for rendering.
The rendering can be a way of smearing the color on the shoe body in the shoe body design process so as to enhance the overall effect of the shoe body. The operation of responding to the selection of the combination scheme can be that a mouse is placed at the top end of the shoe body design interface, or an option for viewing the combination scheme is clicked at the top end of the shoe body design interface, so that a combination scheme list is displayed on the shoe body design interface for a designer to select. The manner of determining the combination scheme for rendering may be determined by a designer clicking the corresponding combination scheme or inputting the corresponding color feature or texture feature to search and determine in a combination scheme list.
S506, according to the combined scheme for rendering, coloring the color features and the texture features included in the combined scheme for at least one coloring area to obtain a coloring effect graph of the shoe body.
Specifically, after the combination scheme for rendering is determined, one or more coloring areas are input, the position of the input area is correspondingly adjusted to the midpoint of the shoe body design interface, and the color features and the texture features in the combination scheme are used for rendering, so that a coloring effect graph of the shoe body is obtained and displayed on the shoe body design interface, and a designer can observe and adjust the overall design effect conveniently.
In the embodiment of the application, the combination scheme for rendering is determined by responding to the combination scheme selection operation, and according to the combination scheme for rendering, the situation that when a designer colors a colored area, the color feature and the texture feature need to be selected one by one to be matched, and the time for designing the shoe body is wasted is avoided. The coloring effect picture of the shoe body is obtained by coloring the color characteristic and the texture characteristic included in the combined scheme for at least one coloring area, so that a designer can observe and adjust the whole design effect conveniently.
Example three:
fig. 6 is a schematic structural diagram of a device for determining color and texture of a shoe body provided in the third embodiment of the present application, and referring to fig. 6, the device for determining color and texture of a shoe body provided in the present embodiment includes: a picture acquisition module 61, a feature extraction module 62, a region acquisition module 63, and a coloring module 64.
The picture acquisition module 61: the system comprises a processor, a memory and a controller, wherein the processor is used for acquiring a reference picture and identifying at least one design reference object in the reference picture;
the feature extraction module 62: extracting color features and texture features of the design reference object;
the area acquisition module 63: for obtaining at least one colored region of a shoe body in a shoe body design interface;
the coloring module 64: the color effect map is used for coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect map of the shoe body.
Further, the feature extraction module 62 is specifically configured to:
determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range through a pre-constructed color extraction model, and extracting texture information in the reference range through a pre-constructed texture extraction model;
extracting color information in the reference range by a color extractor, and identifying texture information in the reference range based on a texture recognition algorithm;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
Further, the feature extraction module 62 is further configured to:
color features are constructed based on the color information, and texture features are constructed based on the texture information.
Determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range through a pre-constructed color extraction model, and extracting texture information in the reference range through a pre-constructed texture extraction model;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
Further, the feature extraction module 62 is further configured to:
determining a combination scheme of the color features and the texture features according to the extraction quantity of the color features and the extraction quantity of the texture features;
and displaying the combination schemes in a list form in a candidate design column of the shoe body design interface.
Further, the coloring module 64 is specifically configured to:
in a candidate design column of a shoe body design interface, in response to a combination scheme selection operation, determining a combination scheme for rendering;
and coloring at least one coloring area by adopting the color characteristics and the texture characteristics included in the combined scheme according to the combined scheme for rendering to obtain a coloring effect graph of the shoe body.
In the embodiment of the application, by acquiring the reference picture and identifying at least one design reference object in the reference picture, the design inspiration of designers is favorably increased; the color and texture attributes of each region in the shoe body design process are determined by extracting the color features and the texture features of the design reference object, so that the design efficiency is improved; in a shoe body design interface, acquiring at least one colored area of a shoe body; and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body, so that designers can observe and adjust the overall effect conveniently, and the design integrity of the shoe body is improved.
Example four:
the embodiment of the application also provides an electronic device, and the computer device can integrate the device for determining the color and the texture of the shoe body. Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 7, the computer apparatus includes: an input device 73, an output device 74, a memory 72, and one or more processors 71; a memory 72 for storing one or more programs; when the one or more programs are executed by the one or more processors 71, the one or more processors 71 may implement the method for determining color and texture of a shoe body as described in the above embodiments. The input device 73, the output device 74, the memory 72 and the processor 71 may be connected by a bus or other means, and fig. 7 illustrates the example of the bus connection.
The memory 72 is an electronic device readable storage medium and can be used for storing software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the method for determining color and texture of a shoe body according to any of the embodiments of the present application. The memory 72 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 72 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 72 may further include memory located remotely from the processor 71, which may be connected to the device over 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 input device 73 may be used to receive input numeric or character information and generate key signal inputs relating to merchant settings and function controls of the apparatus. The output device 74 may include a display device such as a display screen.
The processor 71 executes various functional applications of the device and data processing by running software programs, instructions and modules stored in the memory 72, namely, the above-mentioned determination method of the color and texture of the shoe body is realized.
The device, the system and the computer for determining the color and the texture of the shoe body can be used for executing the method for determining the color and the texture of the shoe body provided by any of the embodiments, and have corresponding functions and beneficial effects.
Embodiments of the present application further provide a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform a method for determining shoe body color and texture as provided in the above embodiments, the method for determining shoe body color and texture comprising: acquiring a reference picture, and identifying at least one design reference object in the reference picture; extracting color features and texture features of the design reference object; in a shoe body design interface, acquiring at least one colored area of a shoe body; and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body.
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 that may reside in different locations, such as in different computer systems that are 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, and the computer executable instructions are not limited to the method for determining color and texture of a shoe body as described above, and may also perform related operations in the method for determining color and texture of a shoe body as provided in any of the embodiments of the present application.
The device, apparatus and storage medium for determining color and texture of a shoe body provided in any of the above embodiments can perform the method for determining color and texture of a shoe body provided in any of the above embodiments, and reference may be made to the method for determining color and texture of a shoe body provided in any of the above embodiments without detailed technical details described in the above embodiments.
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, and various obvious changes, adaptations and substitutions may be made by those skilled in the art without departing from the scope of the present application. 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 method for determining color and texture of a shoe body, the method comprising:
acquiring a reference picture, and identifying at least one design reference object in the reference picture;
extracting color features and texture features of the design reference object;
in a shoe body design interface, acquiring at least one colored area of a shoe body;
and coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect picture of the shoe body.
2. The method of claim 1, wherein extracting color features and texture features of the design reference object comprises: determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range by a color extractor, and identifying texture information in the reference range based on a texture recognition algorithm;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
3. The method of claim 1, wherein extracting color features and texture features of the design reference object comprises: determining a reference range in the design reference object in response to a reference range determination operation in the design reference object;
extracting color information in the reference range through a pre-constructed color extraction model, and extracting texture information in the reference range through a pre-constructed texture extraction model;
color features are constructed based on the color information, and texture features are constructed based on the texture information.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
and if the reference range determination operation in the design reference object is not detected, taking the design reference object as a collection object of the color information and the texture information.
5. A method according to claim 2 or 3, characterized in that the color information comprises color RGB value information or color gradient information;
the texture information includes at least one of texture density information, texture depth information, and texture width information.
6. The method of claim 1, wherein after extracting color features and texture features of the design reference object, the method further comprises:
determining a combination scheme of the color features and the texture features according to the extraction quantity of the color features and the extraction quantity of the texture features;
and displaying the combination schemes in a list form in a candidate design column of the shoe body design interface.
7. The method of claim 6, wherein coloring the at least one colored region with color and texture features to obtain a color effect map of the body of the shoe comprises:
in a candidate design column of a shoe body design interface, in response to a combination scheme selection operation, determining a combination scheme for rendering;
and coloring at least one coloring area by adopting the color characteristics and the texture characteristics included in the combined scheme according to the combined scheme for rendering to obtain a coloring effect graph of the shoe body.
8. An apparatus for determining the color and texture of a shoe body, said apparatus comprising:
the picture acquisition module: the system comprises a processor, a memory and a controller, wherein the processor is used for acquiring a reference picture and identifying at least one design reference object in the reference picture;
a feature extraction module: extracting color features and texture features of the design reference object;
an area acquisition module: for obtaining at least one colored region of a shoe body in a shoe body design interface;
a coloring module: the color effect map is used for coloring at least one coloring area by adopting color characteristics and texture characteristics to obtain a coloring effect map of the shoe body.
9. 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 determining the color and texture of a shoe body according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method for determining the color and texture of a shoe body according to any one of claims 1 to 7.
CN202210934336.XA 2022-08-04 2022-08-04 Method and device for determining color and texture of shoe body, electronic equipment and storage medium Active CN115018953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210934336.XA CN115018953B (en) 2022-08-04 2022-08-04 Method and device for determining color and texture of shoe body, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210934336.XA CN115018953B (en) 2022-08-04 2022-08-04 Method and device for determining color and texture of shoe body, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115018953A true CN115018953A (en) 2022-09-06
CN115018953B CN115018953B (en) 2023-02-10

Family

ID=83065547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210934336.XA Active CN115018953B (en) 2022-08-04 2022-08-04 Method and device for determining color and texture of shoe body, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115018953B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376529A (en) * 2014-11-25 2015-02-25 深圳北航新兴产业技术研究院 Gray level image colorization system and method based on GLCM
US20190156526A1 (en) * 2016-12-28 2019-05-23 Shanghai United Imaging Healthcare Co., Ltd. Image color adjustment method and system
US20190236813A1 (en) * 2018-01-30 2019-08-01 Preferred Networks, Inc. Information processing apparatus, information processing program, and information processing method
US20210201071A1 (en) * 2018-06-26 2021-07-01 Microsoft Technology Licensing, Llc Image colorization based on reference information
CN114445554A (en) * 2021-12-24 2022-05-06 广东时谛智能科技有限公司 Special customization method and device for shoe body, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376529A (en) * 2014-11-25 2015-02-25 深圳北航新兴产业技术研究院 Gray level image colorization system and method based on GLCM
US20190156526A1 (en) * 2016-12-28 2019-05-23 Shanghai United Imaging Healthcare Co., Ltd. Image color adjustment method and system
US20190236813A1 (en) * 2018-01-30 2019-08-01 Preferred Networks, Inc. Information processing apparatus, information processing program, and information processing method
US20210201071A1 (en) * 2018-06-26 2021-07-01 Microsoft Technology Licensing, Llc Image colorization based on reference information
CN114445554A (en) * 2021-12-24 2022-05-06 广东时谛智能科技有限公司 Special customization method and device for shoe body, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115018953B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
US9396560B2 (en) Image-based color palette generation
US9741137B2 (en) Image-based color palette generation
US9552656B2 (en) Image-based color palette generation
JP4398726B2 (en) Automatic frame selection and layout of one or more images and generation of images bounded by frames
CN110198437B (en) Image processing method and device, storage medium and electronic device
US8660342B2 (en) Method to assess aesthetic quality of photographs
CN100583148C (en) Image similarity calculation system, image search system, image similarity calculation method
JP2005202469A (en) Image processor, image processing method and program
WO2021164550A1 (en) Image classification method and apparatus
WO2015074575A1 (en) Method and apparatus for obtaining three-dimensional thermodynamic diagram
CN107886512A (en) A kind of method for determining training sample
CN108961250B (en) Target object statistical method, device, terminal and storage medium
US10871884B1 (en) Product image characteristic detection and manipulation
Hristova et al. Style-aware robust color transfer.
CN108769634A (en) A kind of image processing method, image processing apparatus and terminal device
JP2010072699A (en) Image classification device and image processor
CN114998472B (en) Method and device for determining shoe color matching, electronic equipment and storage medium
CN112085663A (en) Generating enhanced digital images with context-aware sensors and multi-dimensional gesture input
CN103871014A (en) Image color changing method and device
CN115081043A (en) Method, device, equipment and storage medium for determining characteristic data in shoe body design
CN115018953B (en) Method and device for determining color and texture of shoe body, electronic equipment and storage medium
CN106960188B (en) Weather image classification method and device
US7054481B2 (en) Automatic person meta-data labeller
CN108805095A (en) image processing method, device, mobile terminal and computer readable storage medium
CN108932703A (en) Image processing method, picture processing unit and terminal device

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