Automatic stacking of clothing patterns
By calculating the deformation ratio and mapping relationship between 3D clones, a clothing paper pattern suitable for people of different body shapes and sizes is generated, which solves the problem of inaccurate target paper pattern in the prior art, and realizes the natural presentation of clothing on the 3D target clone and Suitability.
Patent Information
- Application Number
- CN202410931547.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-31
- Filing Date
- 2020-08-19
- Publication Date
- 2024-11-01
Smart Images

Figure CN118886259A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 202010837926.1, application date August 19, 2020, and invention name “Automatic Sizing of Clothing Patterns”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims the benefit of Korean Patent Application No. 10-2019-0101261, filed on August 19, 2019, and Korean Patent Application No. 10-2019-0179473, filed on December 31, 2019, which are hereby incorporated by reference in their entirety. Technical Field
[0004] The invention relates to automatic grading of clothing patterns. Background Art
[0005] Although the garment appears three-dimensional when worn, it is actually made by joining adjacent two-dimensional patterns together. Flexible fabrics, commonly used as materials for two-dimensional patterns, are soft and therefore can appear different depending on the wearer. Grading is the process of enlarging or reducing a garment pattern of one size to cover people of different sizes. Summary of the invention
[0006] The present embodiment relates to an automatic grading method for clothing, which is used to generate a digitized target clothing as a grading version of a source clothing. The automatic grading method includes a step of determining an avatar strain ratio representing the difference between the shape of a three-dimensional (3D) source avatar and the shape of a 3D target avatar, wherein the shape of one or more body parts of the 3D source avatar is different from the corresponding one or more body parts of the 3D target avatar. It also includes a step of determining a mapping relationship between a part of a 3D source garment and the body part of the 3D source avatar, the 3D source garment being formed to cover the size of the 3D source avatar and including a plurality of adjacent two-dimensional (2D) source patterns. It also includes a step of determining the shape of a two-dimensional (2D) target pattern of a 3D target garment based on the avatar strain ratio and the mapping relationship, wherein the 3D target garment is formed to cover the size of the 3D target avatar.
[0007] In one or more embodiments, according to the mapping relationship, the shape of the 2D target pattern is determined by determining one or more source avatar polygons mapped to each source garment polygon. One or more of the source garment polygons are part of a mesh representing a body part of the source avatar. And the source garment polygons form a source mesh representing the source garment. By applying a garment transfer function to each of the source garment polygons, each of the source garment polygons is deformed into each target garment polygon, and the target garment polygons form a target mesh representing the target garment. The garment transfer function is a function of one or more conversion functions, and the conversion function converts one or more source avatar polygons mapped to each of the source garment polygons into corresponding one or more target avatar polygons. In addition, the pattern strain between the source pattern polygon corresponding to the source garment polygon and the target pattern polygon corresponding to the target garment polygon is determined. And the target pattern is generated by applying the determined pattern strain to the source pattern.
[0008] In one or more embodiments, each of the source clothing polygons is deformed into each of the target clothing polygons according to the statistical value of the clone strain ratio.
[0009] In one or more embodiments, the target paper pattern is generated by: determining a ratio between the source strain and a target strain candidate of the target paper pattern candidate, wherein the target strain candidate represents a target strain between the reference polygon and the polygon of the target paper pattern candidate, and determining a position of the target paper pattern polygon that limits the difference between the clone strain ratio and the ratio by an optimization algorithm.
[0010] In one or more embodiments, the step further includes relaxing the first ratio before determining the position.
[0011] In one or more embodiments, the position of the target paper sample polygon is determined by further limiting the deviation between the contour curvature of the target paper sample and the contour curvature of the source paper sample.
[0012] In one or more embodiments, the position of the target paper sample polygon is determined by further limiting the deviation between the seam line ratio between adjacent target paper samples and the seam line ratio between adjacent source paper samples.
[0013] In one or more embodiments, the avatar strain ratio is determined as a deformation of a unit polygon constituting a mesh representing the target avatar and a corresponding unit polygon constituting another mesh representing the source avatar.
[0014] In one or more embodiments, the step of determining the clone strain ratio includes: determining a transformation matrix, the transformation matrix representing the deformation between a first tetrahedron defined by the vertices of a source clone polygon constituting a mesh representing the source clone and a second tetrahedron defined by the vertices of a target clone polygon constituting another mesh representing the target clone, the target clone polygon corresponding to the source clone polygon, and deriving the clone strain ratio from the transformation matrix.
[0015] In one or more embodiments, the step of determining the mapping relationship includes: determining a mapping relationship between a target pattern in a 2D source pattern constituting the source garment and a body part of the source avatar.
[0016] In one or more embodiments, the step of determining the mapping relationship includes: for each source avatar polygon, determining a subset of source clothing polygons closest to each source avatar polygon as the part of the source clothing mapped to the body part of the 3D source avatar. It also includes registering the subset of source clothing polygons as a mapping to each source avatar polygon in a mapping list. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Below, exemplary embodiments are described in conjunction with the accompanying drawings. The following and / or other aspects, features and advantages of the present invention will be more clearly understood through the following description.
[0018] Figure 1 is a conceptual diagram showing an automatic grading method according to an embodiment.
[0019] Figure 2 FIG. 4 is a flow chart showing an automatic grading method according to an embodiment.
[0020] Figure 3A and Figure 3B is a conceptual diagram showing a first strain ratio between a 3D source clone and a 3D target clone according to an embodiment.
[0021] Figure 4 is a diagram showing a mapping relationship between a 3D source garment covering a source avatar and a body part of the source avatar according to an embodiment.
[0022] Figure 5 is a flow chart showing a method for converting a source garment into a 3D target garment covering a target avatar according to an embodiment.
[0023] Figure 6 is a conceptual diagram showing deformation of triangles of a source garment into triangles of a target garment according to an embodiment.
[0024] Fig. 7A and Figure 7Bis a conceptual diagram showing strain of a 2D paper sample according to an embodiment.
[0025] Figure 8 is a conceptual diagram showing how a source pattern constituting a source garment is converted into a target pattern constituting a target garment based on strain of a 2D pattern according to an embodiment.
[0026] Fig. 9 FIG. 2 is a diagram showing a 2D target pattern constituting a target garment according to an embodiment.
[0027] Fig.10 2 is a diagram showing a method for making the contour curvature of a source paper sample consistent with that of a target paper sample according to an embodiment.
[0028] Fig.11 2 is a diagram showing a method of maintaining a stitching line length ratio of source paper samples stitched to each other according to one embodiment.
[0029] Fig.12 is a block diagram showing an automatic grading device according to an embodiment. DETAILED DESCRIPTION
[0030] Below, the embodiments are described in detail with reference to the accompanying drawings. In the accompanying drawings, similar reference numerals represent similar elements. Various modifications can be made to the various embodiments described below. The embodiments described below are not limited to the implementation form, and it should be understood that they include all modifications of various embodiments, their equivalents and / or alternatives.
[0031] Furthermore, when describing the embodiments with reference to the accompanying drawings, the same reference numerals denote the same elements regardless of the drawing numbers, and repeated description will be omitted.
[0032] As described herein, "grading" refers to generating paper patterns of different sizes based on an original paper pattern of a certain size. The size of the newly generated target paper pattern should be suitable for the target avatar. To this end, the source paper pattern should also be deformed to the size of the target paper pattern according to the deformation of the target avatar relative to the source avatar. However, since each body part of the target avatar deforms differently relative to the corresponding body part of the source avatar, an accurate target paper pattern suitable for the target avatar cannot be generated without considering the different deformations of each body part. In one or more embodiments, the source paper pattern can be deformed to different sizes relative to each body part according to the different deformation degrees of each body part. In this way, a more accurate target paper pattern can be produced for the target avatar.
[0033] As used herein, a "source avatar" refers to a virtual 3D object that overlays an original garment to be automatically graded.
[0034] As described herein, a "target avatar" corresponds to a virtual 3D object that will be covered with a garment that is automatically graded by the original garment. The target avatar has at least one body part that is different in size from the source garment.
[0035] The body type of the source avatar or the target avatar may show different physical signs according to height and / or weight, and may include, for example, a thin body type, a standard body type, an upper body fat body type, a lower body fat body type, an upper body and lower body fat body type, a thin and fat body type, etc. For example, the body type of the source avatar or the target avatar may be determined based on the body type of the target wearing the source garment 120 made from the garment pattern or based on a general body type of race, age and / or gender.
[0036] The source avatar and the target avatar may include attributes such as body size, position coordinates of each body part, and feature points. "Feature points" may correspond to points on the 3D avatar, which are important locations where virtual clothing is overlaid on the 3D avatar. Feature points may correspond to at least one of the following of the 3D avatar, for example: arms, wrists, left and right body, shoulders, head, neck, legs, left and right lower body, ankles, armpits, groin, pelvis, buttocks, abdomen, chest, hands, feet, elbows, knees, fingertips, between fingers, backs of hands, insteps of feet, toes, and heels.
[0037] As used herein, "draping" refers to the process of combining pattern information or a garment pattern using a computer program and making a 3D clone wear a 3D garment object.
[0038] Figure 1 is a conceptual diagram showing automatic grading according to an embodiment. According to an example, Figure 1 A 3D source avatar 110, a 3D source garment 120 overlaid on the source avatar 110, a 3D target avatar 130, a 3D target garment 140 overlaid on the target avatar 130, and a 2D target pattern 150 constituting the 3D target garment 140 are shown. The automatic grading method can automatically grade the source garment 120 worn on the source avatar 110 into a pattern of the target garment 140, so that the target garment 140 is suitable for the target avatar 130 whose size and / or body shape is different from the source avatar 110.
[0039] For example, source clone 110 and / or target clone 130 may use the following Figure 6The mesh unit graphics shown are modeled. In some cases, the unit graphics can be 3D polyhedrons (such as tetrahedrons). In the following, for the sake of ease of description, it is assumed that the unit graphics in the mesh are polygons, especially triangles. The mesh constituting the source clone 110 is referred to as the "1st mesh" or "source clone mesh", and the triangle included in the 1st mesh is referred to as the "1st triangle" or "source clone polygon". In addition, the mesh constituting the target clone 130 is referred to as the "2nd mesh" or "target clone mesh", and the triangle included in the 2nd mesh is referred to as the "2nd triangle" or "target clone polygon".
[0040] The source clone 110 and the target clone 130 have different volumes and / or shapes. However, the correspondence between the triangles or polygons in the target clone mesh and the source clone mesh may be preserved.
[0041] The source garment 120 may be a garment overlaid on the 3D source avatar 110, which is a 3D virtual garment. The target garment 140 may be a garment overlaid on the 3D target avatar 130, which is also a virtual 3D garment. In one embodiment, the source garment 120 and the target garment 140 may be represented by polygonal meshes connected to each other at vertices. The mesh constituting the source garment 120 is referred to as the "3rd mesh", and the triangle included in the 3rd mesh is referred to as the "3rd triangle" or "source garment polygon". In addition, the mesh constituting the target garment 140 is referred to as the "4th mesh" or "target garment polygon", and the triangle included in the 4th mesh is referred to as the "4th triangle" or "target garment polygon".
[0042] In one embodiment, the triangles constituting the mesh (eg, the 3rd mesh or the 4th mesh) of the 3D virtual clothing have different sizes relative to each body part, or the sizes of all triangles may be the same.
[0043] 3D garments such as the source garment 120 and the target garment 140 may be composed of garment patterns corresponding to various body parts. The garment pattern according to an embodiment may be as follows: Figure 8 Virtual 2D garment patterns 810 and 830 are shown modeled by triangles.
[0044] The mesh according to an embodiment can be modeled in various ways. For example, the vertices of the polygons in the mesh can be point masses, and the edges of the polygons can be represented as springs with elasticity connecting the point masses. Therefore, as an example, the clothing pattern according to an embodiment can be modeled by a mass-spring model. Depending on the characteristics of the fabric used (e.g., stretching, shearing, and bending), the spring can have different resistance values. Alternatively, the mesh can be modeled as a strain model. The polygons in the mesh can be modeled as triangles, or as polygons greater than or equal to quadrilaterals. In some cases, when three-dimensional modeling is performed, the mesh can be modeled with a polyhedron.
[0045] The vertices in the mesh can move according to the external forces (such as gravity) and internal forces (such as stretching, shearing and bending). When the force applied to each vertex is obtained by calculating the external and internal forces, the displacement and speed of movement of each vertex can be obtained. The movement of virtual clothing can be simulated according to the movement of the polygonal vertices of the mesh at each point in time. When a 2D virtual clothing pattern composed of a polygonal mesh is covered on a 3D clone, a 3D virtual clothing that is naturally presented based on the laws of physics can be realized.
[0046] In the following, for ease of description, the 2D garment pattern constituting the source garment is referred to as the "source pattern", and the 2D garment pattern constituting the target garment is referred to as the "target pattern". The grid constituting the source pattern is referred to as the "5th grid" or the "source pattern grid", and the triangle in the 5th grid is referred to as the "5th triangle" or the "source pattern polygon". In addition, the grid constituting the target pattern is referred to as the "6th grid" or the "target pattern grid", and the triangle in the 6th grid is referred to as the "6th triangle" or the "target pattern polygon".
[0047] In this case, as an example, the position of the triangle in each mesh may correspond to the vertex coordinates of the triangle. Alternatively, as an example, the position of the triangle in each mesh may correspond to the centroid position of the triangle.
[0048] Figure 2 FIG. 1 is a flow chart showing an automatic grading method according to an embodiment. Figure 2In step 210, the automatic grading device determines the first strain ratio or the clone strain ratio between the 3D source clone and the 3D target clone. The first strain ratio or the clone strain ratio refers to the degree of deformation of the body part of the source clone in order to achieve consistency with the target clone. For example, the automatic grading device may calculate the first strain ratio based on the unit triangles constituting the clone mesh. As an example here, the unit triangle may correspond to the first triangle of the first mesh constituting the source clone and / or the second triangle of the second mesh constituting the target clone. In other words, the automatic grading device may calculate the first strain ratio based on the difference between the first triangle and the second triangle. The method by which the automatic grading device determines the first strain ratio or the clone strain ratio will be described in detail in FIG. 3.
[0049] In step 220, the automatic grading device may determine a mapping relationship between the 3D source garment overlaid on the source avatar and the body parts of the source avatar. The mapping relationship may indicate a corresponding relationship between the body parts of the source avatar and the parts of the virtual 3D garment pattern. When the source garment is overlaid on the source avatar, the automatic grading device may determine a mapping relationship between the parts of the 2D source pattern and the body parts of the source avatar. For this, reference is made to Figure 4 Describe in detail.
[0050] In step 230, the automatic grading device may determine the size of the target pattern of the target garment based on the first strain ratio and the mapping relationship. For example, the automatic grading device may determine the first triangle of the body part of the source avatar that is adjacent to the third triangle of the third mesh constituting the source garment based on the mapping relationship. The automatic grading device may deform the third triangle of the source garment into the fourth triangle of the fourth mesh constituting the target garment based on the first strain ratio. The automatic grading device may calculate the strain between the fifth triangle of the source pattern and the sixth triangle of the target pattern, and may convert the source pattern into the target pattern based on the calculated strain, wherein the fifth triangle corresponds to the third triangle and the sixth triangle corresponds to the fourth triangle. Figures 5 to 8 A method for determining the dimensions of a target paper sample is described in detail.
[0051] The generated 2D target pattern constituting the target garment can be used as the output of the automatic grading device, which will be referred to below. Fig. 9 Describe in detail.
[0052] For example, the automatic grading device can also deform the target pattern mapped to the corresponding part according to the strain of each part of the target clone, and grade the target pattern through an optimal process, wherein the optimal process makes the contour curvature and / or seam length ratio of all target patterns of the target garment consistent with the source pattern. Fig.10 The method of maintaining the contour curvature of the source paper sample in the automatic grading device is described in detail. Fig.11A method for maintaining a seam length ratio of a source paper sample in an automatic grading device is described in detail.
[0053] Figure 3A and Figure 3B is a conceptual diagram showing a first strain ratio between a 3D source clone and a 3D target clone according to an embodiment. Figure 3A The body parts of the 3D target avatar 130 corresponding to the body parts of the 3D source avatar are shown. Figure 3B A first triangle 310 constituting a first mesh of the 3D source avatar 110 and a second triangle 330 constituting a second mesh of the 3D target avatar 130 are shown.
[0054] In one embodiment, the strain between the body parts of the source avatar 110 and the body parts of the target avatar 130 can be defined by the individual triangle units that constitute the mesh of each avatar. Avatar matching is a method of calculating how much a triangle of the source avatar 110 (e.g., the first triangle 310) changes on the target avatar 130.
[0055] The automatic grading device may determine whether a specific feature point of the source avatar 110 matches any feature point of the target avatar 130, thereby understanding whether the three points of the first triangle 310 of the source avatar 110 are moved to any position on the target avatar 130. The automatic grading device may calculate a 3D transformation matrix indicating the degree of deformation of the triangle based on the positions on the target avatar 130 to which the three points of the first triangle 310 are moved.
[0056] For example, assuming that the positions of the three points of the first triangle 310 of the source clone 110 (v0, v1, v2) and the positions of the three points of the second triangle 330 of the target clone 130 are given:
[0057] The automatic grading device may form a tetrahedron by extending the first triangle 310 and the second triangle 330. The automatic grading device may form a first tetrahedron V based on three points of the first triangle 310 and a second tetrahedron V based on three points of the second triangle 330. By forming the first and second tetrahedrons, the source clone 110 and the target clone 130 can be modeled as 3D volumes.
[0058] The first tetrahedron V can be expressed as V = [v1-v0, v2-v0, v3-v0], and the second tetrahedron It can be expressed as In this case, a point v3 of the first tetrahedron V and a point v4 of the second tetrahedron A point can be placed at a vertical distance from the midpoint of each triangle Therefore, when the first tetrahedron V corresponding to the first triangle 310 and the second tetrahedron V corresponding to the second triangle 330 are given When the automatic grading device can obtain the instructions for the first tetrahedron V and the second tetrahedron The transformation matrix Ta of the deformation degree between is as follows:
[0059]
[0060] The automatic grading device can use the transformation matrix Ta to calculate the strain between the source clone and the target clone (the "first strain ratio").
[0061] According to an embodiment, the automatic grading device may calculate the strain between the source avatar and the target avatar using a correspondence map between the first grid of the source avatar and the second grid of the target avatar. In this case, as an example, the correspondence map may be calculated proportionally based on feature points such as the top of each avatar's head, the toes of each avatar, or the tip of each avatar's arm.
[0062] According to one embodiment, the automatic grading device can obtain a correspondence map by putting virtual reference clothing with the same mesh topology on the source avatar and the target avatar. The virtual reference clothing can be a virtual clothing that tightly covers the avatar. The correspondence map may include information indicating the triangles of the second mesh of the target avatar, and the triangles of the second mesh correspond to the triangles of the first mesh of the source avatar. Since the source avatar and the target avatar are put on the virtual reference clothing with the same mesh topology, the triangles of the second mesh of the target avatar corresponding to the triangles of the first mesh of the source avatar can be identified. For example, a unique identifier can be assigned to the triangles of the virtual reference clothing. Since the identifiers of the triangles of the virtual reference clothing do not change after the virtual reference clothing is covered on the source avatar and the target avatar, it is easy to identify the correspondence between the triangles of the source avatar and the triangles of the target avatar with the same identifier.
[0063] Figure 4 is a conceptual diagram showing a mapping relationship between a 3D source garment and a body part of a source avatar according to an embodiment. Figure 4 3D source avatar 110 and 3D source garment 120 are shown. The automatic grading device may determine whether each part of the source paper pattern constituting the source garment 120 matches any body part of the source avatar 110. For example, the automatic grading device may determine a mapping relationship using a mapping list that maps triangles of the mesh of the source avatar 110 that are adjacent to each triangle of the mesh constituting the source garment 120. Specifically, the automatic grading device determines a mapping relationship between the source paper pattern constituting the source garment 120 and the body part of the source avatar 110.
[0064] The automatic grading device may search for a 1st triangle adjacent to the 3rd triangle of the mesh constituting the sleeve of the source garment 120. In this case, as an example, the automatic grading device may search for an adjacent 1st triangle that is located within a specified distance based on three points of each 3rd triangle of the mesh constituting the sleeve. The automatic grading device may register the adjacent 1st triangle into a mapping list corresponding to the sleeve. As an example, the mapping list corresponding to a specific triangle of the source garment 120 may include one 1st triangle or multiple 1st triangles. According to an embodiment, the mapping list corresponding to a specific triangle of the source garment 120 may include a 1st triangle of a specific area and / or a 1st triangle of a specific direction.
[0065] The automatic grading device may use the mapping list to determine the mapping relationship corresponding to the body part (eg, the right shoulder) of the source avatar.
[0066] Figure 5 is a flow chart showing a method for converting a source garment into a 3D target garment overlaid on a target clone according to one embodiment. Figure 5 In step 510, the automatic grading device may search for a first triangle of the body part of the source avatar based on the mapping relationship, where the first triangle is adjacent to a third triangle of a third mesh constituting the source garment.
[0067] In step 520, the automatic grading device may deform the third triangle of the source garment into a fourth triangle constituting a fourth mesh of the target garment based on the first strain ratio of the first triangle. Figure 6 The calculation of the deformation between the triangles constituting the meshes of the source garment and the target garment in step 520 is described in detail.
[0068] In step 530, the automatic grading device may calculate the source strain ε between the fifth triangle of the source paper sample and the reference triangle. s and the target strain ε between the sixth triangle of the target paper sample and the reference triangle t . In step 540, the automatic grading equipment can calculate the first ratio E0 between the source strain and the target strain. Here, the 5th triangle is equivalent to the triangle of the 2D source pattern (5th grid), the triangle of the 2D source pattern (5th grid) corresponds to the 3rd triangle of the 3D source garment, and the 6th triangle is equivalent to the triangle of the 2D target pattern (6th grid), and the triangle of the 2D target pattern (6th grid) corresponds to the 4th triangle of the 3D target garment. Steps 530 and 540 are the process of calculating the strain between the triangles of the 2D patterns of the 3D source garment and the 3D target garment, respectively. For this, reference will be made to the following Fig. 7A and 7B Describe in detail.
[0069] In step 550, the automatic grading device may convert the source pattern into the target pattern based on the first ratio. Step 550 may be a process of deforming the 2D pattern of the 3D garment mapped to the corresponding part based on the strain of each body part of the target avatar, which will be referred to below. Figure 8 Describe in detail.
[0070] Figure 6 is a conceptual diagram showing deformation of triangles of a source garment into triangles of a target garment according to an embodiment. Figure 6 The diagram shows a process of deforming the third triangle of the source garment 630 into the fourth triangle of the target garment 640 based on the first strain ratio of the first triangle of the body part of the source avatar 610 to the second triangle of the body part of the target avatar 620 .
[0071] According to the principle of grading, the garment is deformed according to the size of the adjacent body part of the avatar. Therefore, the automatic grading device according to an embodiment can calculate the deformation of the triangles constituting the mesh of the source garment 630 based on the strain of the first triangle constituting the body part of the source avatar 610, wherein the first triangle is mapped (e.g., adjacent) to the third triangle constituting the third mesh of the source garment 630.
[0072] The strain of the first triangle of the body part of the source avatar 610 may correspond to the first strain ratio between the source avatar 610 and the target avatar 620 represented by the transformation matrix Ta shown in Formula 1. In this case, Figure 6 As shown, the strain T between the source clone 610 and the target clone 620 a1 and T a2 The strain T = f(T a1 ,T a2 ).
[0073] For example, when any of the first triangles of the first mesh constituting the source clone 610 is represented as a s When the second triangle a of the second mesh constituting the target clone 620 t It can be expressed as T a ×a s In addition, when any of the third triangles constituting the third mesh of the source garment 630 is represented as c s When the fourth triangle c of the fourth mesh constituting the target garment 640 is t It can be expressed as T×c s In this case, as shown in Formula 2 below, T = f(T a1 ,T a2 ) can correspond to the strain T of the first triangle a,i The average value of .
[0074] For example, suppose Lr∈{t0,t1,…,t n} is a set of first triangles of the body part of the source avatar 610 mapped to the third triangle r of the third mesh constituting the source garment 630. In this case, the strain T of the third triangle of the third mesh constituting the source garment 630 can be c Calculated as the strain T of the first triangle of the body part of the source clone 610 a,i The average value is shown in Formula 2 below:
[0075]
[0076] Among them, the strain T of the first triangle of the body part of the source clone 610 is a,i π may correspond to a value obtained by excluding the rotational rigid conversion from the above-mentioned Formula 1, that is, a result of performing only the scale conversion and the shear angle conversion.
[0077] Therefore, the automatic grading equipment can calculate the statistics (for example, the average value) of the first strain ratio of the first triangle of the body part of the source avatar 610, and can deform the third triangle of the third mesh constituting the source garment 630 into the fourth triangle of the fourth mesh constituting the target garment 640 based on the statistics of the first strain ratio of the first triangle.
[0078] In one embodiment, the automatic grading device can apply the transformation matrix of the source clone 610 to the target garment 640 without changing the target garment 640 in order to accurately reflect the deformation of the source clone 610 in the vertical direction and the deformation of the source clone 610 in the horizontal direction. Therefore, regardless of the shape of the garment, the target pattern for automatic grading can be accurately generated.
[0079] In one embodiment, the automatic grading device can directly apply the transformation matrix of the source avatar 610 to the target garment.
[0080] 640, thereby accurately reflecting the deformation in the vertical direction and the deformation in the horizontal direction relative to the source clone 610 to the target garment 640, so that no matter what the shape of the garment is, the target pattern for automatic grading can be accurately generated.
[0081] Fig. 7A and Figure 7B FIG. 1 is a diagram showing the calculation of the strain (“1st ratio”) of a 2D paper sample according to one embodiment.
[0082] 7A shows that when the third triangle 710 of the 3D source garment is deformed into the fourth triangle 720 of the 3D target garment (also referred to as the “target garment polygon”), the fifth triangle 730 of the 2D source pattern (the fifth mesh) corresponding to the third triangle 710 (also referred to as the “source pattern polygon”) and the 2D target pattern (the sixth mesh) corresponding to the fourth triangle 720 are deformed.
[0083] The relationship between the 6th triangle 740 (also referred to herein as the "target paper pattern polygon") of the grid.
[0084] For example, the 3D shape of the garment may be deformed due to gravity, collision between garments, fabric tension, etc. Such deformation of the garment should also be reflected in the 2D pattern constituting the garment to generate a garment or garment pattern suitable for the avatar. Therefore, in one embodiment, the deformation of the 3D shape of the garment can also be applied to the 2D pattern constituting the garment.
[0085] For example, the shape strain between the reference triangle 750 and the fifth triangle 730 of the source paper sample is called the source strain ε s ,
[0086] The shape strain between the reference triangle 750 and the sixth triangle 740 of the target paper sample is called the target strain ε t Here,
[0087] The fifth triangle 730 is equivalent to the triangle of the source paper pattern (fifth mesh) corresponding to the third triangle 710.
[0088] The sixth triangle 740 is equivalent to the triangle (sixth grid) of the target paper sample corresponding to the fourth triangle 720. In addition, the reference triangle 750 is equivalent to a virtual triangle as a standard of the 2D paper sample, and can be equivalent to, for example, a triangle in an ideal state without any external force applied. According to an embodiment, the reference triangle 750 can have a predetermined initial size according to different designs, or can have an average size of unit triangles of each paper sample.
[0089] Reference Figure 7B , showing the triangle 710 or 720 constituting the 3D garment and the triangle 730 or 740 constituting the 2D pattern.
[0090] 740. The above source strain ε can be calculated using the following formula 3 s and the target strain ε t。
[0091]
[0092] Wherein, U may be a 2×3 matrix, the magnitude of the first column vector of the matrix represents the degree of scaling on the x-axis, and the magnitude of the second column vector represents the degree of scaling on the y-axis. In addition, the angle between the two column vectors may correspond to the shear angle.
[0093] Since the size change mainly occurs in the x-axis and y-axis directions when grading a 2D paper pattern, the automatic grading device according to an embodiment can calculate the strain ε=[ε x , ε y ].
[0094] According to one embodiment, the automatic grading device can define the strain as ε=[ε x , ε y , θ]. In this case, the triangles that make up the pattern of each garment during grading can be calculated according to the source strain ε s To the target strain ε t The degree of deformation is determined by the deformation.
[0095] In one embodiment, the source strain ε s and the target strain ε t The ratio between is called the first ratio E. Calculate the first ratio E. The first ratio E may also be referred to as an initial ratio E0.
[0096] Figure 8 is a conceptual diagram showing how a source pattern constituting a source garment is converted into a target pattern constituting a target garment based on strain of a 2D pattern according to an embodiment. Figure 8 A sixth grid candidate 830 of the 2D target paper pattern candidate is shown, which is derived from the fifth grid 810 of the 2D source paper pattern based on an objective function of maintaining the strain of the 2D paper pattern.
[0097] The automatic grading device can deform all the triangular meshes constituting the 2D pattern so that when the shape deformation occurs in the 3D garment, the shape strain in the 3D garment is also kept consistent to the maximum extent in the 2D pattern. For example, when determining the 6th triangle candidate of the 6th mesh candidate 830 of the target pattern candidate, the automatic grading device according to one embodiment can calculate the target strain between the reference triangle and the 6th triangle candidate. The calculated target strain may correspond to the target strain candidate. The automatic grading device can calculate the 2nd ratio between the source strain and the target strain candidate. The automatic grading device can determine the point position on the 6th mesh candidate 830 of the target pattern candidate to satisfy the 1st objective function of minimizing the difference between the 1st ratio and the 2nd ratio.
[0098] Therefore, as an example, an optimization algorithm or optimization process that calculates the position of each point on the 6th grid candidate 830 of the target pattern candidate to maximize the 2D strain corresponding to the triangle of the 3D garment may be used. The optimization process may be expressed as Formula 4 below.
[0099]
[0100] where x∈R 2N This corresponds to a vector indicating the position of a point (eg, vertex) on the 6th mesh candidate of the 2D target pattern information.
[0101] The above formula 4 is equivalent to the first objective function of minimizing the difference between the first ratio E0 and the second ratio E(x). The automatic grading device can calculate the point position on the sixth grid candidate of the target paper pattern candidate to minimize the difference between the first ratio E0 and the second ratio E(x).
[0102] For example, the automatic grading device can obtain a solution where the gradient of the objective function of the above formula 4 is 0 by using a gradient descent technique. The automatic grading device can obtain the following by obtaining the solution of the above formula 4: Fig. 9 2D target paper pattern shown.
[0103] Fig. 9 FIG. 2 is a diagram showing a 2D target pattern constituting a target garment according to an embodiment. Fig. 9 A 2D target paper sample 910 and contours 911 , 913 , 915 , and 917 of the target paper sample 910 output according to an embodiment are shown.
[0104] Fig. 9 The edges of the outlines 911, 913, 915, and 917 of the target paper sample 910 are shown to be uneven and rough. For example, when the body size of the target avatar is smaller than that of the source avatar, the size of the target paper sample is smaller than that of the source paper sample as a whole. In this case, the outlines 911, 913, 915, and 917 of the target paper sample 910 may not be smooth due to the difference between the target strain of each triangle constituting the mesh of the target paper sample and the target strain of the surrounding triangles. This may be because the strains of the triangles of the mesh of the target avatar adjacent to the triangles constituting the mesh of the target paper sample are not continuous.
[0105] As an example, the automatic grading device according to one embodiment may use the following formula 5 to relax the first ratio so that the contours 911, 913, 915 and 917 of the 2D paper pattern are smooth lines. The first ratio relaxed by the following formula 5 may be shown as
[0106]
[0107] Where k represents the relaxation iteration, S adj Represents a set of triangles j that are adjacent to triangle i of the 2D paper pattern.
[0108] Automatic grading equipment can use the above formula 5 to obtain the relaxation strain through the relaxation process of the initial target strain E0 According to one embodiment, the automatic grading device can obtain the relaxed strain by applying a moving average or a low-pass filter to the points corresponding to the contour of the 2D paper sample.
[0109] Automatic grading equipment can relax the strain Reflecting this in the optimized formula of the above formula 4, we obtain the following formula 6.
[0110]
[0111] For example, the automatic grading device may use an optimization algorithm or process corresponding to Formula 6 to determine the position of the point on the 6th grid candidate to satisfy the minimum second ratio E(x) and the relaxation strain The automatic grading equipment can use the above formula 6 to obtain a 2D paper pattern with a smoother contour.
[0112] Fig.10 1 is a conceptual diagram showing maintaining the contour curvature of the source paper pattern 1010 in the target paper pattern 1030 according to an embodiment. Like the neck 1011 and the sleeve 1013, when the contour or inner line of the source paper pattern 1010 has a certain curvature, the automatic grading device may allow the neck portion 1031 and the sleeve portion 1033 of the target paper pattern 1030 corresponding to the source paper pattern 1010 to maintain the same curvature as the source paper pattern 1010. In other words, the automatic grading device may allow the grid points on the curve of the target paper pattern 1030 to maintain the curvature of the curve of the source paper pattern 1010 within a certain range.
[0113] As an example, the automatic grading device may use the following formula 7 to make the target paper sample 1030 maintain the curvature of the source paper sample 1010 . Formula 7 adds the first constraint of maintaining the curvature of the source paper sample 1010 to the optimization solution of the above formula 6.
[0114]
[0115] Where B0 represents the first curvature vector of all points on the contour and inner line of the source paper sample 1010, B(x) represents the second curvature vector of all points on the target paper sample 1030, and w e represents the weight used to reduce the strain difference, w b Represents the weight used to maintain curvature.
[0116] For example, the automatic grading device may set the first constraint so that the second curvature (or the second curvature vector) of all points on the curve of the target paper sample 1030 maintains the first curvature (or the first curvature vector) of all points on the contour and inner line curve of the source paper sample 1010. Based on the second objective function of formula 6, the automatic grading device further uses formula 7 that satisfies the first constraint to determine the point position on the sixth candidate grid. The automatic grading device generates the target paper sample 1030 by obtaining the solution of the above formula 7, and the target paper sample 1030 reduces the difference between the curvature of the contour in the source paper sample 1010 and the curvature of the contour in the target paper sample 1030.
[0117] Fig.11 1 is a conceptual diagram showing that the ratio of the length of the seams of the source paper samples 1110 and 1120 is maintained in the target paper samples 1130 and 1140 according to one embodiment. The source paper sample 1110 and the source paper sample 1120 may correspond to paper samples connected to each other by the seams 1115 and the seams 1125. In this case, the information of the seams 1115 and 1125 may be pre-input to the source paper samples 1110 and 1120, and the source avatar may be covered after the source paper samples 1110 and 1120 are connected by the seams 1115 and 1125. Similarly, the target paper samples 1130 and 1140 of the target garment may also cover the virtual garment on the avatar after the seams of the paper samples are connected.
[0118] After grading, the automatic grading device may allow a certain range of target patterns 1130, 1140 to maintain the length ratio between the seams (e.g., seams 1115, 1125) connected to each other in the source patterns 1110, 1120. In other words, the automatic grading device may allow the length ratio (e.g., 1:1) between the seams 1135, 1145 connected to each other on the target patterns 1130, 1140 to be substantially the same as the length ratio (e.g., 1:1) between the seams 1115, 1125 connected to each other on the source patterns 1110, 1120. When the length ratios between the seams connected to each other are inconsistent, the target garment may generate wrinkles due to the length difference of the seams.
[0119] To this end, in one embodiment, when grading is performed on a given target paper sample, the length ratio of the seam lines may be maintained after solving the above formula 7. For example, the automatic grading device may set the second constraint so that the second length ratio of the seam lines 1135 and 1145 sewn to each other between the target paper samples 1130 and 1140 converted based on the point positions on the sixth grid candidate satisfies the first length ratio of the seam lines 1115 and 1125 of the source paper samples 1110 and 1120.
[0120] After solving the above formula 7, the automatic grading equipment can measure the length of the seams 1135, 1145 on the given target paper samples 1130, 1140, and can use an optimization algorithm or process to calculate the target length of all line segments on the seams 1135, 1145 of the target paper samples 1130, 1140 so that they are the same as the first length ratio of the seams 1115, 1125 of the source paper samples 1110, 1120.
[0121] For example, when the target length vector of all calculated line segments is S0, the second constraint for maintaining the target length can be expressed as subtracting the vector corresponding to ‖S(x)-S o ‖ 2 In one embodiment, the automatic grading device may add the second constraint of maintaining the stitching line length ratio to the above formula 7 to obtain the optimization formula shown in the following formula 8.
[0122]
[0123] Based on the second objective function and the first constraint, the automatic grading device can determine the point position on the sixth grid candidate that satisfies the above formula 8, and formula 8 satisfies the second constraint. The automatic grading device can obtain the solution of formula 8 to generate a target paper pattern that maintains the source curvature and the seam line length ratio.
[0124] According to one embodiment, the automatic grading device may add a third constraint to maximize the pressure distribution of the source image after optimization. According to one embodiment, the pressure distribution of the surface of the source avatar may be stored in the third grid of the source garment. Thereafter, based on the conversion relationship between the third grid of the source garment and the first grid of the source avatar, the pressure distribution of the source garment may be converted into the pressure distribution of the target garment. In other words, the portion with increased volume in the source avatar may be converted into a larger pressure in the source garment, and the portion with reduced volume in the source avatar may be converted into a smaller pressure in the source garment. Thereafter, the automatic grading device may obtain a 2D target pattern that satisfies the pressure distribution of the target garment calculated according to the above strain.
[0125] Fig.12 is a block diagram showing an automatic grading device according to an embodiment. Fig.12 According to an embodiment, the automatic grading device 1200 may include a processor 1210, a user interface 1230, and an output device 1250. The automatic grading device 1200 may also include a memory 1270. The processor 1210, the user interface 1230, the output device 1250, and the memory 1270 may communicate with each other via a communication bus 1205.
[0126] The processor 1210 may calculate a first strain ratio between the 3D source avatar and the 3D target avatar. The processor 1210 may determine a mapping relationship between the 3D source clothing covered on the source avatar and the body part of the source avatar. The processor 1210 may convert the source clothing into a 3D target clothing covered on the target avatar based on the first strain ratio and the mapping relationship.
[0127] For example, the processor 1210 may find the first triangle of the body part of the source avatar adjacent to the third triangle of the third mesh constituting the source garment based on the mapping relationship. The processor 1210 may deform the third triangle of the source garment into the fourth triangle of the target garment based on the first strain ratio of the first triangle. The processor 1210 may calculate the strain between the fifth triangle of the source pattern (corresponding to the third triangle) and the sixth triangle of the target pattern (corresponding to the fourth triangle). The processor 1210 may convert the source pattern into the target pattern based on the calculated strain.
[0128] Alternatively, the processor 1210 may calculate the source strain between the reference triangle and the 5th triangle of the source paper sample and the target strain between the reference triangle and the 6th triangle of the target paper sample, and may calculate the 1st ratio between the source strain and the target strain. The processor 1210 may convert the source paper sample into the target paper sample based on the 1st ratio. In this case, the 5th triangle corresponding to the 3rd triangle is equivalent to a triangle of the 2D source paper sample (5th mesh), and the 6th triangle corresponding to the 4th triangle is equivalent to a triangle of the 2D target paper sample (6th mesh).
[0129] The processor 1210 may calculate a statistical value of the 1st strain ratio of the 1st triangle, and may deform the 3rd triangle into the 4th triangle according to the statistical value. The processor 1210 may calculate a 2nd ratio between the source strain and the target strain candidate of the target paper pattern candidate. The processor 1210 may determine a point position on the 6th grid candidate of the target paper pattern candidate to satisfy a 1st objective function of minimizing the difference between the 1st ratio and the 2nd ratio. Here, the target strain candidate may include a target strain between the reference triangle and the 6th triangle candidate of the 2D target paper pattern candidate (6th grid candidate).
[0130] The processor 1210 may relax the first ratio, and may determine a point position on the sixth grid candidate to satisfy a second objective function of minimizing a difference between the second ratio and the relaxed first ratio.
[0131] The processor 1210 may set the first constraint so that the second curvature of all points on the target pattern curve maintains the first curvature of all points on the source pattern curve. Based on the second objective function, the processor 1210 further determines the point position on the sixth candidate grid based on the first constraint.
[0132] The processor 1210 may set a second constraint based on the point position on the sixth candidate grid so that a second length ratio of a stitching line between the paper samples connected to each other by stitching in the converted target paper sample satisfies a first length ratio of a stitching line of the source paper sample corresponding to the converted target paper sample. Based on the second objective function and the first constraint, the processor 1210 further determines the point position on the sixth candidate grid based on the second constraint.
[0133] The user interface 1230 may receive selections of the 3D source avatar and the 3D target avatar. The user interface 1230 may include a touch input, such as a stylus, a mouse, a keyboard, or a touch interface.
[0134] The output device 1250 may output a 2D target pattern constituting the target garment. The output device 1250 may output the 3D target garment overlaid on the 3D target clone and / or the 2D target pattern of the 3D target garment to a screen or to the outside of the automatic grading device 1200. For example, the output device 1250 may be a display or a communication interface that communicates with the outside of the automatic grading device 1200. In addition, the output device 1250 may be a 2D pattern output device that outputs the 2D target pattern constituting the target garment to a separate output object (e.g., paper or fabric).
[0135] The memory 1270 may store, for example, a 3D source avatar and a 3D target avatar input via the user interface 1230. In addition, the memory 1270 may store a first strain ratio between the 3D source avatar and the 3D target avatar calculated by the processor 1210, and a mapping relationship between the 3D source garment covered on the source avatar and the body part of the source avatar. In addition, the memory 1270 may store a 3D target garment converted from the source garment by the processor 1210 and a 2D target pattern constituting the target garment.
[0136] In addition, the processor 1210 may execute the above reference Figures 1 to 11 The at least one method described, or an algorithm corresponding to at least one method. The processor 1210 may execute a program to control the automatic grading device 1200. The program code executed by the processor 1210 may be stored in the memory 1270. As an example, the processor 1210 may be configured as a central processing unit (CPU), a graphics processing unit (GPU), or a neural network processing unit (NPU).
[0137] The method according to the embodiment is embodied in the form of a program command that can be executed by a variety of computer means and recorded in a computer read-write medium. The computer read-write medium can include program commands, data files, data structures, etc. in a single or combined form. The program instructions recorded in the medium can be instructions specially designed and constructed to implement the embodiment, or instructions that ordinary technicians in the field of computer software can use based on known knowledge. The computer read-write recording medium can include magnetic media such as hard disks, floppy disks, and tapes; optical media similar to CD-ROMs, DVDs, etc.; magneto-optical media similar to floptical disks, and hardware devices specially constructed for storing and executing program commands similar to read-only memories (ROMs), random access memories (RAMs), flash memories, etc. Examples of program instructions include not only machine language codes generated by compilers, but also high-level language codes that can be executed by computers by using interpreters, etc. To perform the operations of the embodiments, the hardware device can be configured to implement the operations in one or more software modules, and vice versa.
[0138] Software can include a computer program, code, instructions, or a combination of more than one of these, that causes a processing device to operate in a desired manner, or that, alone or collectively, commands a processing device. Software and / or data can be permanently or temporarily embody any type of device, component, physical device, virtual device, computer storage medium or device, or transmitted signal wave for interpretation by a processing device or for providing commands or data to a processing device. Software is distributed on computer systems connected by a network and can be stored or executed in a distributed manner. Software and data can be stored in one or more computer read-write storage media.
[0139] In summary, the embodiments are described with reference to limited drawings, but it is obvious that for those of ordinary skill in the art, various modifications can be made to the form and details of these examples without departing from the spirit and scope of the claims and their equivalents. The embodiments described herein are for illustrative purposes only and are not intended to be limiting. The description of the features or aspects of each embodiment is equally applicable to similar features or aspects in other embodiments. Appropriate results can also be obtained when components of the system, architecture, device, or circuit are combined in different orders and / or replaced or supplemented by other components or their equivalents.
[0140] Therefore, the scope of the disclosure is not limited to the specific embodiments, but defined by the claims and their equivalents, and all variations included in the claims and their equivalents should be construed as being included in the disclosure.
Claims
1. A method for automatic grading of clothing, characterized in that: The following steps are involved: Determining an avatar strain, the avatar strain representing the difference between the size of a body part of a three-dimensional, i.e., 3D, source avatar and the size of a corresponding body part of a 3D target avatar, wherein the size of one or more of the body parts of the 3D source avatar is different from the size of the corresponding one or more of the body parts of the 3D target avatar; Determining a mapping relationship between a part of a 3D source garment and the body part of the 3D source avatar, the 3D source garment being formed to cover the size of the 3D source avatar and comprising a plurality of adjacent two-dimensional (2D) source patterns; and The size of the 2D target pattern of the 3D target garment is determined by processing the avatar strain and the mapping relationship, and the 3D target garment is formed to cover the size of the 3D target avatar.
2. The automatic grading method according to claim 1, wherein: The step of determining the size of the 2D target paper sample comprises: Determine one or more source avatar polygons mapped to each source garment polygon according to the mapping relationship, wherein the one or more source avatar polygons are part of a mesh representing a body part of the source avatar, and wherein the source garment polygons form a source mesh representing the source garment; deforming each of the source garment polygons into each target garment polygon, the target garment polygons forming a target mesh representing the target garment, by applying a garment transfer function to each of the source garment polygons, wherein the garment transfer function is a function of one or more transformation functions that transform one or more source twin polygons mapped to each of the source garment polygons into corresponding one or more target twin polygons; determining a pattern strain between a source pattern polygon corresponding to the source garment polygon and a target pattern polygon corresponding to the target garment polygon; and The target paper sample is generated by applying the determined paper sample strain to the source paper sample.
3. The automatic grading method according to claim 2, wherein: The step of generating the target paper sample comprises: determining a first ratio between a source strain and a target strain, the source strain representing a ratio between the source paper pattern polygon and a reference polygon, the target strain representing a ratio between the target paper pattern polygon and the reference polygon, determining a second ratio between the source strain and a target strain candidate of a target paper pattern candidate, wherein the target strain candidate represents a target strain between the reference polygon and a polygon of the target paper pattern candidate; and The position of the target paper pattern polygon that limits the difference between the first ratio and the second ratio is determined by an optimization algorithm.
4. The automatic grading method according to claim 3, characterized in that: Also included is relaxing the first ratio before determining the position.
5. The automatic grading method according to claim 4, wherein: The position of the target paper sample polygon is determined by further limiting the deviation between the contour curvature of the target paper sample and the contour curvature of the source paper sample.
6. The automatic grading method according to claim 5, wherein: The position of the target paper sample polygon is determined by further limiting the deviation between the seam line ratio between adjacent target paper samples and the seam line ratio between adjacent source paper samples.
7. The automatic grading method according to claim 1, wherein: The clone strain is determined by the following steps: Determining a transformation matrix, the transformation matrix indicating a deformation between a first tetrahedron defined by vertices of a source avatar polygon constituting a mesh representing the source avatar and a second tetrahedron defined by vertices of a target avatar polygon constituting another mesh representing the target avatar, the target avatar polygon corresponding to the source avatar polygon; as well as The twin strains are derived from the transformation matrix.
8. A non-transitory computer-readable storage medium storing instructions, characterized in that: When the processor executes the instruction, the processor: Determining an avatar strain, the avatar strain representing the difference between the size of a body part of a three-dimensional, i.e., 3D, source avatar and the size of a corresponding body part of a 3D target avatar, wherein the size of one or more of the body parts of the 3D source avatar is different from the size of the corresponding one or more of the body parts of the 3D target avatar; Determining a mapping relationship between a part of a 3D source garment and the body part of the 3D source avatar, the 3D source garment being formed to cover the size of the 3D source avatar and comprising a plurality of adjacent two-dimensional (2D) source patterns; and The size of the 2D target pattern of the 3D target garment is determined by processing the avatar strain and the mapping relationship, and the 3D target garment is formed to cover the size of the 3D target avatar.
9. An automatic grading device for clothing, comprising: processor, and a memory coupled to the processor and storing instructions that, when executed by the processor: Determining an avatar strain, the avatar strain representing the difference between the size of a body part of a three-dimensional, i.e., 3D, source avatar and the size of a corresponding body part of a 3D target avatar, wherein the size of one or more of the body parts of the 3D source avatar is different from the size of the corresponding one or more of the body parts of the 3D target avatar; Determining a mapping relationship between a part of a 3D source garment and the body part of the 3D source avatar, the 3D source garment being formed to cover the size of the 3D source avatar and comprising a plurality of adjacent two-dimensional (2D) source patterns; and The size of the 2D target pattern of the 3D target garment is determined by processing the avatar strain and the mapping relationship, and the 3D target garment is formed to cover the size of the 3D target avatar.
10. A digital garment generated by automatic grading processing, characterized in that: include: Determining an avatar strain, the avatar strain representing the difference between the size of a body part of a three-dimensional, i.e., 3D, source avatar and the size of a corresponding body part of a 3D target avatar, wherein the size of one or more of the body parts of the 3D source avatar is different from the size of the corresponding one or more of the body parts of the 3D target avatar; Determining a mapping relationship between a part of a 3D source garment and the body part of the 3D source avatar, the 3D source garment being formed to cover the size of the 3D source avatar and comprising a plurality of adjacent two-dimensional (2D) source patterns; and The size of the 2D target pattern of the 3D target garment is determined by processing the avatar strain and the mapping relationship, and the 3D target garment is formed to cover the size of the 3D target avatar.
