CN114782653A - Method and system for automatically expanding dress design layout - Google Patents

Method and system for automatically expanding dress design layout Download PDF

Info

Publication number
CN114782653A
CN114782653A CN202210715366.1A CN202210715366A CN114782653A CN 114782653 A CN114782653 A CN 114782653A CN 202210715366 A CN202210715366 A CN 202210715366A CN 114782653 A CN114782653 A CN 114782653A
Authority
CN
China
Prior art keywords
point
inflection point
boundary contour
inflection
points
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
CN202210715366.1A
Other languages
Chinese (zh)
Other versions
CN114782653B (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.)
Hangzhou Cailian Technology Co ltd
Original Assignee
Hangzhou Cailian 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 Hangzhou Cailian Technology Co ltd filed Critical Hangzhou Cailian Technology Co ltd
Priority to CN202210715366.1A priority Critical patent/CN114782653B/en
Publication of CN114782653A publication Critical patent/CN114782653A/en
Application granted granted Critical
Publication of CN114782653B publication Critical patent/CN114782653B/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
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/136Segmentation; Edge detection involving thresholding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • G06T7/344Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods involving models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • 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

Abstract

The application relates to a method and a system for automatically expanding dress design models, wherein the method comprises the following steps: respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate; identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point; dividing a first reference point in the first dress plate and a second reference point in the second dress plate based on the first inflection point and the second inflection point after the registration; and migrating the clothing pattern designed aiming at the first clothing plate to a second clothing plate according to the first inflection point, the first reference point, the second inflection point and the second reference point. By the method and the device, the problems of high cost, low efficiency and low precision existing in the expansion of the dress design models are solved, the consistency of the boundary between the expanded models is ensured, and the expansion efficiency and precision are improved.

Description

Method and system for automatically expanding dress design layout
Technical Field
The application relates to the technical field of intelligent design of clothes, in particular to a method and a system for automatically expanding design styles of clothes.
Background
In the traditional apparel industry, sku (stock placing unit), which is a unit for inventory entering and exiting measurement, may be a unit such as a piece, a box, a tray, etc. Generally, the management of the clothing store management software includes three basic concepts of item, code and unit. Therefore, each type of sku needs to be designed independently in common clothing design, and good design effects of various types and sizes of commodities are guaranteed.
However, in the current manufacturing of flexible clothing, the independent design aiming at a certain type of sku can only be applied to the product of the sku, and the problem that the independent design is difficult to be applied to different sizes and even different similar products exists.
At present, aiming at the problems of high cost, low efficiency and low precision existing in the expansion of the clothes design types in the related technology, an effective solution is not provided.
Disclosure of Invention
The embodiment of the application provides a method and a system for automatically expanding dress design styles, which at least solve the problems of high cost, low efficiency and low precision existing in the expansion of dress design styles in the related technology.
In a first aspect, an embodiment of the present application provides a method for automatically expanding a design layout of apparel, where the method includes:
identifying contour points of the first dress form piece and the second dress form piece;
respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate;
identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point;
dividing a first reference point in the first dress plate and dividing a second reference point in the second dress plate based on the first inflection point and the second inflection point after the registration;
migrating the apparel pattern designed for the first apparel piece to the second apparel piece according to the first inflection point, the first reference point, the second inflection point, and the second reference point.
In some of these embodiments, migrating a apparel pattern designed for the first apparel piece to the second apparel piece in accordance with the first inflection point, the first reference point, the second inflection point, and the second reference point includes:
generating a first triangle of the first decoration piece through a Delaunay triangulation algorithm according to the first inflection point and the first reference point;
generating a second triangle of the second clothing piece through a Delaunay triangulation algorithm according to the second inflection point and the second reference point;
and migrating the costume pattern designed for the first costume piece to the second costume piece based on the first triangle and the second triangle, wherein the first triangle and the second triangle are obtained based on the inflection point of the registration, namely the first triangle and the second triangle are in one-to-one correspondence.
In some of these embodiments, marking out a first reference point in the first apparel piece and marking out a second reference point in the second apparel piece based on the registered first and second inflection points comprises:
the reference points include an inflection point middle point and a pattern blocking point:
connecting adjacent inflection points in the registered first inflection points, and dividing the connecting lines by n to obtain first inflection point intermediate points;
respectively connecting the central point of the first decoration piece with the first inflection point and the middle point of the first inflection point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a first pattern block point;
connecting adjacent inflection points in the registered second inflection points, and dividing the connecting lines into n equal parts to obtain second inflection point intermediate points;
and respectively connecting the central point of the second clothing piece with the second inflection point and the middle point of the second inflection point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a second pattern block point.
In some of these embodiments, registering the first and second inflection points comprises:
searching a central point of the first decorating plate, and connecting the central point with the first inflection point to obtain a plurality of first inflection point included angles taking the central point as a vertex;
searching a central point of the second clothing edition piece, and connecting the central point with the second inflection point to obtain a plurality of second inflection point included angles taking the central point as a vertex;
and comparing the plurality of first inflection point included angles with the plurality of second inflection point included angles to obtain the first inflection point included angle and the second inflection point included angle with the most similar angle values, and further registering the corresponding first inflection point and the corresponding second inflection point.
In some of these embodiments, identifying a first inflection point from the first boundary contour and identifying a second inflection point from the second boundary contour comprises:
calculating the curvature of a boundary contour point in the first boundary contour line, wherein if the curvature is greater than a preset curvature threshold value, the boundary contour point is a first inflection point;
and calculating the curvature of the boundary contour point in the second boundary contour line, wherein if the curvature is greater than a preset curvature threshold value, the boundary contour point is a second inflection point.
In some of these embodiments, identifying a first inflection point from the first boundary contour and identifying a second inflection point from the second boundary contour further comprises:
calculating included angle values among all curve segments forming the first boundary contour line, wherein if the included angle values are larger than a preset included angle threshold value, boundary contour points intersected among the curve segments are first inflection points;
and calculating included angle values among all curve segments forming the second boundary contour line, wherein if the included angle values are larger than a preset included angle threshold value, the boundary contour point intersected among the curve segments is a second inflection point.
In some embodiments, fitting boundary contour points from the contour points to obtain a first boundary contour line of the first apparel piece, and fitting a second boundary contour line of the second apparel piece includes:
fitting boundary contour points from the contour points of the first decoration piece by adopting a Ramer-Douglas-Peucker algorithm based on a preset curve to obtain a first boundary contour line;
and fitting boundary contour points from the contour points of the second clothing edition piece by adopting a Ramer-Douglas-Peucker algorithm based on a preset curve to obtain a second boundary contour line.
In some of these embodiments, identifying contour points for the first and second apparel pieces comprises:
carrying out binarization processing on an image containing a first plate decorating piece according to colors, and identifying contour points of the first plate decorating piece from the image;
and carrying out binarization processing on the image containing the second dress plate according to the color, and identifying the contour points of the second dress plate from the image.
In some of these embodiments, migrating a apparel pattern designed for the first apparel piece to the second apparel piece based on the first triangle and the second triangle includes:
mapping the first triangle deformation into the second triangle through an opengl tool, and migrating the costume pattern designed for the first dress form piece to the second dress form piece.
In a second aspect, an embodiment of the present application provides a system for automatically expanding a design layout of apparel, where the system includes a slab identification module, a slab registration module, and a pattern migration module;
the plate identification module is used for identifying contour points of the first dress plate and the second dress plate;
the plate registration module is used for respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate; identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point; dividing a first reference point in the first dress plate and a second reference point in the second dress plate based on the registered first inflection point and second inflection point;
the pattern migration module is configured to migrate the apparel pattern designed for the first apparel piece to the second apparel piece according to the first inflection point, the first reference point, the second inflection point, and the second reference point.
Compared with the related art, the method and the system for automatically expanding the design layout of the clothes provided by the embodiment of the application identify the contour points of the first dress layout and the second dress layout; respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate; identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point; dividing a first reference point in the first dress plate and dividing a second reference point in the second dress plate based on the first inflection point and the second inflection point after the registration; and migrating the dress patterns designed aiming at the first dress plate to a second dress plate according to the first inflection point, the first reference point, the second inflection point and the second reference point. The method solves the problems of high cost, low efficiency and low precision existing in the expansion of the dress design models, realizes the expansion of the dress design models based on inflection points, ensures the consistency of the boundaries among the expanded models, and improves the expansion efficiency and precision.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of steps of a method for automatically augmenting a layout of a garment design according to an embodiment of the present application;
FIG. 2 is a schematic diagram of fitting boundary contour points to a apparel piece in accordance with an embodiment of the present application;
FIG. 3 is a schematic illustration of inflection point identification according to an embodiment of the present application;
FIG. 4 is a schematic view of corner registration according to an embodiment of the present application;
FIG. 5 is a schematic diagram of reference point division according to an embodiment of the present application;
FIG. 6 is a schematic diagram of triangulation of apparel pieces according to an embodiment of the application;
FIG. 7 is a schematic diagram of an effect of fashion type augmentation according to an embodiment of the present application;
FIG. 8 is a block diagram of an automatically augmented apparel design layout system according to an embodiment of the present application;
fig. 9 is an internal structural diagram of an electronic device according to an embodiment of the present application.
Description of the drawings: 81. a plate identification module; 82. a sheet registration module; 83. and a pattern migration module.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that such a development effort might be complex and tedious, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure, given the benefit of this disclosure, without departing from the scope of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The use of the terms "including," "comprising," "having," and any variations thereof herein, is meant to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
An embodiment of the present application provides a method for automatically expanding a design layout of a piece of apparel, and fig. 1 is a flowchart illustrating steps of the method for automatically expanding a design layout of a piece of apparel according to an embodiment of the present application, as shown in fig. 1, the method includes the following steps:
step S102, identifying contour points of a first dress plate and a second dress plate;
specifically, carrying out binarization processing on an image containing a first plate decorating piece according to colors, and identifying contour points of the first plate decorating piece from the image; and carrying out binarization processing on the image containing the second costume plate according to the color, and identifying the contour points of the second costume plate from the image.
It should be noted that a typical apparel piece may have a specific color to distinguish from the image background. Before the garment is brought online to the platform, the supply chain factory provides the cloth layout design of the garment to the platform, the single cloth piece is generally referred to as a plate of a certain commodity, and the first dress plate and the second dress plate in the embodiment of the application refer to the same type of plate (such as sleeve plate or front chest plate).
Step S104, fitting boundary contour points from the contour points respectively to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate;
specifically, based on a preset curve, fitting boundary contour points from contour points of a first decoration piece by adopting a Ramer-Douglas-Peucker algorithm to obtain a first boundary contour line; and fitting boundary contour points from the contour points of the second clothing piece by adopting a Ramer-Douglas-Peucker algorithm based on a preset curve to obtain a second boundary contour line.
It should be noted that fig. 2 is a schematic diagram of fitting boundary contour points to a clothing piece according to an embodiment of the present application, as shown in fig. 2, noise points exist in the contour points identified in the above step S102, such as: a plurality of local points are all identified as contour points or a plurality of points are gathered due to the width of a line segment, so that in step S104, based on a preset curve, a Ramer-Douglas-Peucker algorithm is adopted to fit boundary contour points from the contour points of the clothing sheet, so as to obtain a boundary contour line surrounded by one or more smooth curves, and further, the preset curve includes but is not limited to curves such as a bezier curve, a b-spline curve and the like.
Step S106, in which fig. 3 is a schematic view of inflection point identification according to the embodiment of the present application, and as shown in fig. 3, a first inflection point is identified from a first boundary contour line, a second inflection point is identified from a second boundary contour line, and the first inflection point and the second inflection point are registered;
optionally, calculating the curvature of the boundary contour point in the first boundary contour line, and if the curvature is greater than a preset curvature threshold, the boundary contour point is a first inflection point; and calculating the curvature of the boundary contour point in the second boundary contour line, wherein if the curvature is greater than a preset curvature threshold, the boundary contour point is a second inflection point.
Optionally, calculating an included angle value between each curve segment forming the first boundary contour line, and if the included angle value is greater than a preset included angle threshold value, setting a boundary contour point intersected between the curve segments as a first inflection point; and calculating the included angle value among the curve segments forming the second boundary contour line, wherein if the included angle value is greater than a preset included angle threshold value, the boundary contour point intersected among the curve segments is a second inflection point.
Preferably, the curvature of the boundary contour point and the included angle value between the curve segments may be combined for judgment, and if the curvature is greater than a preset curvature threshold and the included angle value is greater than a preset included angle threshold, the corresponding boundary contour point is an inflection point.
Preferably, the curvature of the boundary contour point and the included angle value between the curve segments may also be integrated for judgment, and as long as one condition that the curvature is greater than a preset curvature threshold value or the included angle value is greater than a preset included angle threshold value is satisfied, the corresponding boundary contour point is an inflection point.
It should be noted that the inflection point is a key point of the extension of the model of the apparel in the embodiment of the present application, the change of some models may cause the model to stretch, and the simple copy and paste may shift the design elements to different places. The embodiment of the application selects the inflection point as the anchor point, the anchor point deforms the design material, and the design consistency among the versions can be guaranteed to the greatest extent.
Specifically, fig. 4 is a schematic view of inflection point registration according to an embodiment of the present application, and as shown in fig. 4, a central point of a first imposition sheet is found, and the central point and a first inflection point are connected to obtain a plurality of first inflection point included angles using the central point as a vertex; searching a central point of a second clothing plate, connecting the central point with a second inflection point, and obtaining a plurality of second inflection point included angles taking the central point as a vertex; and comparing the plurality of first inflection point included angles with the plurality of second inflection point included angles to obtain the first inflection point included angle and the second inflection point included angle with the most similar angle values, and further registering the corresponding first inflection point and the corresponding second inflection point.
It should be noted that the center point of the apparel piece may be located based on the center of gravity of the image, or may be located based on the pixel value, which is not described herein again.
Step S108, dividing a first reference point in the first dress plate and dividing a second reference point in the second dress plate based on the first inflection point and the second inflection point after the registration;
specifically, the reference points further include an inflection point middle point and a pattern blocking point:
fig. 5 is a schematic diagram of reference point division according to an embodiment of the present application, and as shown in fig. 5, adjacent inflection points in the registered first inflection points are connected, and the connection line is divided by n to obtain a first inflection point intermediate point; respectively connecting the center point of the first plate decorating piece with a first inflection point and a first inflection point middle point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a first pattern block point; connecting adjacent inflection points in the registered second inflection points, and dividing the connecting lines into n equal parts to obtain second inflection point intermediate points; respectively connecting the center point of the second clothing plate with a second inflection point and a middle point of the second inflection point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a second pattern block point;
step S110, according to the first inflection point, the first reference point, the second inflection point and the second reference point, the dress pattern designed aiming at the first dress plate is transferred to the second dress plate.
Specifically, fig. 6 is a schematic diagram of the apparel fit triangulation according to the embodiment of the application, and as shown in fig. 6, a first triangle of a first apparel fit is generated by a Delaunay triangulation algorithm according to a first inflection point and a first reference point; generating a second triangle of the second clothing piece through a Delaunay triangulation algorithm according to the second inflection point and the second reference point; and transforming and mapping the first triangle into a second triangle by adopting an opengl tool, and transferring the costume pattern designed aiming at the first costume plate to the second costume plate, wherein the first triangle and the second triangle are obtained based on the inflection point of registration, namely the first triangle and the second triangle are in one-to-one correspondence.
It should be noted that, in the embodiment of the present application, a preferred triangle generation manner of the Delaunay triangulation algorithm is point-by-point insertion, which can generate more positive triangles, reduce the generation of long and narrow triangles, and ensure that the migration quality of the triangles is high enough in the migration process. (elongated triangles tend to reduce migration quality).
Further, fig. 7 is a schematic diagram of an expansion effect of a clothing layout according to an embodiment of the present application, and as shown in fig. 7, automatic expansion of a clothing design layout is realized through steps of contour identification, inflection point registration, reference point selection, triangulation, and triangulation, etc., so that on one hand, the visual quality of the expansion is ensured, and on the other hand, no loss of design elements is ensured.
Through the steps S102 to S110 in the embodiment of the application, the problems of high cost, low efficiency and low precision existing in the expansion of the dress design models are solved, the expansion of the dress design models based on the inflection point is realized, the consistency of the boundary between the expanded models is ensured, and the expansion efficiency and precision are improved.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment of the present application provides a system for automatically expanding a design layout of apparel, fig. 8 is a block diagram of a structure of a system for automatically expanding a design layout of apparel according to an embodiment of the present application, and as shown in fig. 8, the system includes a slab identification module 81, a slab registration module 82, and a pattern migration module 83;
a plate identification module 81, configured to identify contour points of the first and second apparel plates;
the plate registration module 82 is used for respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate; identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point; dividing a first reference point in the first dress plate and a second reference point in the second dress plate based on the first inflection point and the second inflection point after the registration;
and the pattern transferring module 83 is configured to transfer the clothing pattern designed for the first clothing piece to the second clothing piece according to the first inflection point, the first reference point, the second inflection point and the second reference point.
Through the plate identification module 81, the plate registration module 82 and the pattern migration module 83 in the embodiment of the application, the problems of high cost, low efficiency and low precision existing in the expansion of the clothing design models are solved, the expansion of the clothing design models based on inflection points is realized, the consistency of the boundaries among the expansion models is ensured, and the expansion efficiency and precision are improved.
It should be noted that the above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
The present embodiment also provides an electronic device, comprising a memory having a computer program stored therein and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiment and optional implementation manners, and details of this embodiment are not described herein again.
In addition, in combination with the method for automatically expanding the design layout of the apparel in the above embodiment, the embodiment of the present application may provide a storage medium to implement the method. The storage medium having stored thereon a computer program; the computer program, when executed by a processor, implements any one of the above-described embodiments of a method for automatically extending a apparel design layout.
In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for automatically extending a apparel design layout. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In an embodiment, fig. 9 is a schematic diagram of an internal structure of an electronic device according to an embodiment of the present application, and as shown in fig. 9, there is provided an electronic device, which may be a server, and an internal structure diagram of which may be as shown in fig. 9. The electronic device comprises a processor, a network interface, an internal memory and a non-volatile memory connected by an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used for providing calculation and control capability, the network interface is used for communicating with an external terminal through network connection, the internal memory is used for providing an environment for an operating system and the running of a computer program, the computer program is executed by the processor to realize a method for automatically expanding dress design layout, and the database is used for storing data.
It will be understood by those skilled in the art that the structure shown in fig. 9 is a block diagram of only a portion of the structure related to the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or may combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
It should be understood by those skilled in the art that various technical features of the above-described embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described, however, so long as there is no contradiction between the combinations of the technical features, they should be considered as being within the scope of the present description.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for automatically extending a design layout of apparel, the method comprising:
identifying contour points of the first dress form piece and the second dress form piece;
respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate;
identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point;
dividing a first reference point in the first dress plate and a second reference point in the second dress plate based on the registered first inflection point and second inflection point;
migrating the apparel pattern designed for the first apparel piece to the second apparel piece according to the first inflection point, the first reference point, the second inflection point, and the second reference point.
2. The method of claim 1, wherein identifying a first inflection point from the first boundary contour and identifying a second inflection point from the second boundary contour comprises:
calculating the curvature of a boundary contour point in the first boundary contour line, wherein the boundary contour point is a first inflection point if the curvature is greater than a preset curvature threshold;
and calculating the curvature of the boundary contour point in the second boundary contour line, wherein the boundary contour point is a second inflection point if the curvature is greater than a preset curvature threshold.
3. The method of claim 1, wherein identifying a first inflection point from the first boundary contour and identifying a second inflection point from the second boundary contour further comprises:
calculating included angle values among all curve segments forming the first boundary contour line, wherein if the included angle values are larger than a preset included angle threshold value, boundary contour points intersected among the curve segments are first inflection points;
and calculating included angle values among all curve segments forming the second boundary contour line, wherein if the included angle values are larger than a preset included angle threshold value, the boundary contour point intersected among the curve segments is a second inflection point.
4. The method of claim 1, wherein migrating the apparel pattern designed for the first apparel piece to the second apparel piece as a function of the first inflection point, the first reference point, the second inflection point, and the second reference point comprises:
generating a first triangle of the first imposition sheet through a Delaunay triangulation algorithm according to the first inflection point and the first reference point;
generating a second triangle of the second clothing piece through a Delaunay triangulation algorithm according to the second inflection point and the second reference point;
and migrating the costume pattern designed for the first costume piece to the second costume piece based on the first triangle and the second triangle, wherein the first triangle and the second triangle are obtained based on the inflection point of the registration, namely the first triangle and the second triangle are in one-to-one correspondence.
5. The method of claim 1, wherein dividing a first reference point in the first apparel piece and a second reference point in the second apparel piece based on the registered first and second inflection points comprises:
the reference points include an inflection point middle point and a pattern blocking point:
connecting adjacent inflection points in the registered first inflection points, and dividing the connecting lines into n equal parts to obtain first inflection point intermediate points;
respectively connecting the central point of the first decoration piece with the first inflection point and the middle point of the first inflection point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a first pattern block point;
connecting adjacent inflection points in the registered second inflection points, and dividing the connecting lines into n equal parts to obtain second inflection point intermediate points;
and respectively connecting the central point of the second clothing piece with the second inflection point and the middle point of the second inflection point, and halving a connecting line segment with the length larger than a preset threshold value based on a Delaunay triangulation algorithm to obtain a second pattern block point.
6. The method of claim 1, wherein registering the first inflection point with the second inflection point comprises:
searching a central point of the first decorating plate, and connecting the central point with the first inflection point to obtain a plurality of first inflection point included angles taking the central point as a vertex;
searching a central point of the second clothing edition piece, and connecting the central point with the second inflection point to obtain a plurality of second inflection point included angles taking the central point as a vertex;
and comparing the plurality of first inflection point included angles with the plurality of second inflection point included angles to obtain the first inflection point included angle and the second inflection point included angle with the most similar angle values, and further registering the corresponding first inflection point and the corresponding second inflection point.
7. The method of claim 1, wherein fitting boundary contour points from the contour points, respectively, to obtain a first boundary contour line of the first apparel piece, and a second boundary contour line of the second apparel piece, comprises:
fitting boundary contour points from the contour points of the first decoration piece by adopting a Ramer-Douglas-Peucker algorithm based on a preset curve to obtain a first boundary contour line;
and fitting boundary contour points from the contour points of the second clothing piece by adopting a Ramer-Douglas-Peucker algorithm based on a preset curve to obtain a second boundary contour line.
8. The method of claim 1, wherein identifying contour points for the first and second fit pieces comprises:
carrying out binarization processing on an image containing a first decorating plate according to colors, and identifying contour points of the first decorating plate from the image;
and carrying out binarization processing on the image containing the second dress plate according to the color, and identifying the contour points of the second dress plate from the image.
9. The method of claim 4, wherein migrating the apparel pattern designed for the first apparel piece to the second apparel piece based on the first triangle and the second triangle comprises:
mapping the first triangle deformation into the second triangle through an opengl tool, and migrating the costume pattern designed for the first dress form piece to the second dress form piece.
10. A system for automatically expanding dress design models is characterized by comprising a plate identification module, a plate registration module and a pattern transfer module;
the plate identification module is used for identifying contour points of the first dress plate and the second dress plate;
the plate registration module is used for respectively fitting boundary contour points from the contour points to obtain a first boundary contour line of the first dress plate and a second boundary contour line of the second dress plate; identifying a first inflection point from the first boundary contour line, identifying a second inflection point from the second boundary contour line, and registering the first inflection point and the second inflection point; dividing a first reference point in the first dress plate and a second reference point in the second dress plate based on the registered first inflection point and second inflection point;
the pattern migration module is used for migrating the dress patterns designed aiming at the first dress plate to the second dress plate according to the first inflection point, the first reference point, the second inflection point and the second reference point.
CN202210715366.1A 2022-06-23 2022-06-23 Method and system for automatically expanding dress design layout Active CN114782653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210715366.1A CN114782653B (en) 2022-06-23 2022-06-23 Method and system for automatically expanding dress design layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210715366.1A CN114782653B (en) 2022-06-23 2022-06-23 Method and system for automatically expanding dress design layout

Publications (2)

Publication Number Publication Date
CN114782653A true CN114782653A (en) 2022-07-22
CN114782653B CN114782653B (en) 2022-09-27

Family

ID=82422517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210715366.1A Active CN114782653B (en) 2022-06-23 2022-06-23 Method and system for automatically expanding dress design layout

Country Status (1)

Country Link
CN (1) CN114782653B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170352091A1 (en) * 2014-12-16 2017-12-07 Metail Limited Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products
US20180240280A1 (en) * 2015-08-14 2018-08-23 Metail Limited Method and system for generating an image file of a 3d garment model on a 3d body model
CN110021028A (en) * 2019-03-06 2019-07-16 上海工程技术大学 A kind of automatic clothing method based on garment fashion drawing
CN111768335A (en) * 2020-07-02 2020-10-13 北京工商大学 CNN-based user interactive image local clothing style migration method
CN112434396A (en) * 2019-08-21 2021-03-02 版腾信息科技(上海)有限公司 Layout design method, layout design device, computer equipment and storage medium
CN113160033A (en) * 2020-12-28 2021-07-23 武汉纺织大学 Garment style migration system and method
CN113987344A (en) * 2021-10-26 2022-01-28 雅莹集团股份有限公司 Intelligent 3D garment style simulation method based on layout library and cost estimation method thereof
CN114357544A (en) * 2021-12-01 2022-04-15 武汉纺织大学 Fashion design system and method for clothes
CN114529674A (en) * 2022-02-18 2022-05-24 江南大学 Three-dimensional model texture mapping method, device and medium based on two-dimensional slice model

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170352091A1 (en) * 2014-12-16 2017-12-07 Metail Limited Methods for generating a 3d virtual body model of a person combined with a 3d garment image, and related devices, systems and computer program products
US20180240280A1 (en) * 2015-08-14 2018-08-23 Metail Limited Method and system for generating an image file of a 3d garment model on a 3d body model
CN110021028A (en) * 2019-03-06 2019-07-16 上海工程技术大学 A kind of automatic clothing method based on garment fashion drawing
CN112434396A (en) * 2019-08-21 2021-03-02 版腾信息科技(上海)有限公司 Layout design method, layout design device, computer equipment and storage medium
CN111768335A (en) * 2020-07-02 2020-10-13 北京工商大学 CNN-based user interactive image local clothing style migration method
CN113160033A (en) * 2020-12-28 2021-07-23 武汉纺织大学 Garment style migration system and method
CN113987344A (en) * 2021-10-26 2022-01-28 雅莹集团股份有限公司 Intelligent 3D garment style simulation method based on layout library and cost estimation method thereof
CN114357544A (en) * 2021-12-01 2022-04-15 武汉纺织大学 Fashion design system and method for clothes
CN114529674A (en) * 2022-02-18 2022-05-24 江南大学 Three-dimensional model texture mapping method, device and medium based on two-dimensional slice model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李威龙: "草图和数据驱动的三维服装设计方法研究", 《广西科技大学学报》 *
柯莹等: "基于OpenGL的虚拟服装二维样版设计与修改", 《东华大学学报(自然科学版)》 *

Also Published As

Publication number Publication date
CN114782653B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US10922898B2 (en) Resolving virtual apparel simulation errors
US8712566B1 (en) Segmentation of a product markup image based on color and color differences
WO2019169054A1 (en) Digital showroom for apparel
US20150134496A1 (en) Method for providing for the remote fitting and/or selection of clothing
CN110580398B (en) Garment comfort simulation method, garment manufacturing method, garment comfort simulation system and garment comfort simulation medium
US8525846B1 (en) Shader and material layers for rendering three-dimensional (3D) object data models
US10127717B2 (en) System for 3D Clothing Model Creation
Uhm et al. Fully vision-based automatic human body measurement system for apparel application
CN114782653B (en) Method and system for automatically expanding dress design layout
CN115660310A (en) Production distribution method, device, medium and electronic equipment for clothing orders
CN104750937A (en) Integrated circuit layout conversion method based on Hadoop
CN111709069B (en) Decoration scheme generation method and device, computer equipment and storage medium
Domingo et al. Modeling of female human body shapes for apparel design based on cross mean sets
CN111280558B (en) Method, apparatus, computer device and storage medium for determining size of two-dimensional template
KR102468306B1 (en) Apparatus and method for measuring body size
KR100399286B1 (en) Method for displaying merchandise information and system
CN112700540A (en) Three-dimensional human body model construction method, device, equipment and readable storage medium
Mok et al. Precise shape estimation of dressed subjects from two-view image sets
CN116934276B (en) Clothing rapid production management method and management system
CA2845601A1 (en) Segmentation of an image based on color and color differences
CN111524178B (en) Washing effect adding method and device of virtual ready-made clothes and computer equipment
KR102451651B1 (en) Method for 3D modeling of clothing
Chen et al. Two‐dimensional virtual try‐on algorithm and application research for personalized dressing
US20230128878A1 (en) Three-dimensional content optimization for uniform object to object comparison
CN114969869A (en) Rendering method, system, device and medium based on online clothing design

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