Retraction Retracted: Virtual Garment Piece Design and Stitching Algorithm Based on Virtual Simulation Technology

,


Introduction
Today's society is a society with rapid development, full of competition, and the continuous emergence of new technologies. It is also a society in which the Internet begins to show its great influence in all fields of social life [1]. With the continuous development of science and technology and the Internet, CAD technology is widely used in the field of fashion design and manufacturing [2]. e use of computer technology to assist the design of garment products is an important content in this field [3]. Compared with traditional fashion design methods, 3D fashion CAD system must Hindawi Security and Communication Networks Volume 2022, Article ID 4393042, 9 pages https://doi.org/10.1155/2022/4393042 be able to solve some special problems [4]. Firstly, it can reduce the use of threshold. Compared with the traditional methods, the use of 3D garment CAD system needs to be simpler and more applicable to a wider range of people [5]. Secondly, the simulation effect is real and clear at a glance.
irdly, it is convenient to edit and modify. Traditional fashion design requires two-dimensional CAD or manual drawing, punching, cutting, sewing, and trying on. Often, this process needs many times to achieve satisfactory results, while the three-dimensional fashion CAD system can efficiently complete the fashion design through modification [6].
An important link in 3D garment generation technology is the generation and sewing of garment pieces [7]. In this process, the two-dimensional garment cutting pieces are stitched on the three-dimensional mannequin to form the initial shape of the three-dimensional garment [8]. e research of three-dimensional garment modeling technology began with the study of flexible fabrics. Physical-based modeling method can accurately describe fabrics and truly represent fabrics, so it is widely used. Its basic idea is to transform the movements of various parts of fabrics into particle movements under various forces by introducing physical quantities such as force and energy [9]. To simulate the spatial dynamics of the fabric, realistic simulation of the fabric is the premise of realizing 3D clothing modeling, but it is different from simple fabric simulation. 3D clothing is made up of many complicated 2D pieces of clothing, and the final shape of the clothing is closely related to the mannequin [10]. e sewing of virtual garments will involve the transformation of 2D-3D, the constraint control of 3D garment space movement and deformation, and the collision detection of 3D garments [11]. Because the impact of various clothes textures on the human body differs significantly from that of a two-dimensional graphic design drawing, the twodimensional design effect cannot accurately depict the wrinkling sensation of clothing on the human body. As a result, fashion designers cut and sew the created two-dimensional pieces of clothing, test them on the model, observe the designed clothing try-on effect, and if they are not satisfied with the clothing try-on effect, they should draw and cut the two-dimensional pieces of clothing again. Such a design process is inefficient since it requires a lot of human resources and time. As a result, interactive fashion design is a mapping interaction from two to three dimensions. Designers have the ability to cut and alter future two-dimensional fashion designs. Simultaneously, the adjusted results are presented in real time on the three-dimensional virtual fitting, and the three-dimensional clothing changes following real-time modifications can be observed. is synchronous function improves the smoothness of interactive operations and provides a great user experience. e elastic deformation model is used to discretize the clothing surface into a particle system. By solving the differential equation of the space motion of the particle system, the evolution of the system can be obtained from the time series. e research focus of this method is on the dynamic simulation of fabrics. e stitching of 2D garment pieces to 3D garments [12]is controlled. Using the energy method, the two-dimensional garment piece is mapped onto the threedimensional mannequin to form a joined rigid surface, and the mechanical characterization of the fabric is transformed into an energy equation [13]. is method takes the human model as the constraint, predicts the large deformation with the minimum energy of each point in space, and obtains the shape of the three-dimensional clothing in the equilibrium state, which is suitable for expressing the static effect of the three-dimensional clothing [14]. e description of the mechanical properties of the fabric is simple and clear, but the fabric is required to be divided into four-sided meshes according to the warp and weft directions, which brings certain difficulties to the sewing of complex garments. e sewing technology of virtual clothing will involve problems in mesh division, spatial geometric transformation, constraint control, numerical solution of motion equations, collision, etc. Among them, there are relatively mature solutions for spatial geometric transformation and numerical solution of motion equations. is study mainly studies the meshing of complex garments and the processing of stitching constraints, which are the keys to realize virtual sewing of complex garments [15].

Related Work
In MIRALab under the leadership of literature [16], they used the elastic deformation model to discretize the clothing surface into a particle system and obtained the evolution of the system from the time series by solving the differential equation of the space motion of the particle system. In the dynamic simulation of fabrics, external force constraints are introduced to control the stitching of 2D garments to 3D garments. Reference [17] uses the energy method to first map the 2D garments to the 3D mannequin to form a joined rigid surface. e mechanical characterization of the phantom is transformed into an energy equation. e phantom constrains the approach, which employs the minimal energy of each point in space to forecast massive deformations and derive the shape of 3D clothing in its equilibrium state. e attire of the virtual phantom has been examined in the literature [18]. e classic is used by the model with proton spring. e mechanical qualities of the fabric are described simply and clearly, but they need the fabric to be meshed on four sides in both the warp and weft directions, which complicates the stitching of complicated outfits. e fabric is represented as a rectangular grid in the literature [19], the semi-implicit integration technique is used to determine the cloth's location, and the elasticity theory is employed to simulate the cloth's movement. Literature [20] provided a new point of view, proposing a particle-based way to mimic fabric, and using many important data gathered from real life to join the simulation experiment, these parameters were calculated using a tool known as a measuring system. eir study focuses on creating static images. Reference [21] employed a particle system and an explicit Euler integration approach to provide a mass-spring system for sculpting fabric models. Reference [22] offers an adaptive mesh approach for replicating lowprecision cloth meshes that employs the quad-tree method 2 Security and Communication Networks to split the mesh and may automatically raise the mesh's accuracy as required. A quadrilateral domain meshing approach based on the regular grid method was presented in reference [23]. ese approaches are all based on a physical model of the fabric, with physical variables such as force and energy included, and the motion of each section of the fabric is transformed into the motion of the particle under each force to imitate the fabric's spatial state. A unique magneticbased point sampling approach connected to the garment's shape was suggested in reference [24]. e particle-like concept described by Povot is often employed in the manufacturing of springs. is method is simple in construction, suitable for triangular meshes, and widely used. Reference [25] solves the problem of interpenetration in multilayer clothing, and he proposes a clothing method based on bone matching for the same clothing to adapt to different human bodies. Reference [26] uses the method of particle simulating yarn for fiber modeling, which can well realize fiber cloth simulation. e literature [27,28] reviewed the interactive clothing design technology. In the review, it was described that in the process of clothing design, the designer first modified the style of the 3D clothing, then cut the 3D clothing on a plane, and then cut the clothing. e latter two meshes are spliced into a two-dimensional mesh, which is converted into a two-dimensional garment pattern for later batch manufacturing.
It can be seen from the references that as the main operation in the 3D simulation, the entire framework should support the real-time placement of the garment pieces after generation. Since the stitching effect and the simulation effect depend on the initial position, for example, some garment pieces need to be placed on the opposite side, which must be realized. Various operations include dragging and rotating. Otherwise, some simulation effects cannot be achieved. At the same time, it should be noted that to display the rendering effect and grid constraints in real time, it is necessary to adjust the data information to the interface in real time. At the same time, considering that the user's operating environment may be limited, different quality needs to be provided for the details of the display part. So based on this, display effect of the whole system needs to realize a variety of display effects for users to refer to and choose.

Virtual Sewing of Garment Pieces.
Clothe stitching is actually the process of stacking one or more pairs of twodimensional clothing pieces, or using front lines to sew adjacent clothing pieces, so that the clothing pieces are folded through the stitching lines. e virtual stitching used in virtual fitting is to correspond the grids in the clothing pieces to establish a corresponding relationship, and the effect of force and the change in elastic coefficient are not considered in the stitching process. Pairs of panel meshes are joined together by stitching. e elastic modulus varies in actual stitching owing to the overlapping of the cloth's borders, which thickens the stitched region. e Lagrangian approach and the method of applying penalty force are two popular virtual stitching methods. Following a comparison of the two virtual suture approaches, the method of applying a set penalty force for virtual suture is chosen. Figure 1 depicts the virtual garment sewing process. Virtual stitching with the Lagrangian multipliers allows precise constraints during virtual fitting simulations without the need to set spring rates at the outset. Although such a virtual stitching approach may conduct high-precision cloth simulation, the cloth convergence speed will decrease throughout the virtual fitting process due to the higher computing complexity. Because there are fewer restrictions and less computation when using a set penalty force to execute virtual stitching, this technique may enhance the convergence speed of textiles in the virtual fitting process, and it is ideal for the virtual fitting in this article. e stiffness of the penalty force must be established ahead of time in the virtual stitching process. e stiffness of the penalty force may be chosen during the first clothing simulation, and it is vital to guarantee that the penalty force is applied during the whole process of virtual sewing of the clothing components. e employment of a set penalty force to do virtual stitching may keep the system stable, and the boundary locations that need to be stitched can be calculated using matrix operations, resulting in a modest total computation amount and a straightforward calculation. e flow chart of the 3D fitting system is shown in Figure 2.
After comparing the advantages and disadvantages of the two virtual suture methods, the suture method that is more suitable for this system is selected; that is, a fixed penalty force is applied to perform virtual suture. To sew two pairs of garment parts together, their borders are discovered, and several hook springs on the garment pieces' seamed borders are made and joined. Because the sizes of the two pieces that normally need to be sewed vary, the length of the parts' borders will also change. After sewing, this will result in creases. However, once the two portions are sewn together, there is often a gap between the stitched borders. To avoid such a situation, it is necessary to add a high-stiffness spring to the stitching and set it to twice the extension spring. erefore, two linear systems with strong stiffness and weak stiffness are generated in the stitching process, which can be solved using the semi-implicit numerical and straight integral solution method mentioned in the second chapter.
is solution method has very good requirements for the arrangement of the matrix. Usually, in the numerical integration solution, the equation with relatively large coefficients is placed in the upper left position of the matrix. e less sparse equations are placed at the bottom right of the matrix. In the virtual suture, it can be seen that the elastic spring with the suture connection has the highest stiffness, so it should occupy the dominant position.

Suture Processing and Folding Algorithm.
With the popularity of computer-aided design, more and more industrial fields can see the figure of computer-aided design. In the modern clothing production industry, clothing design is an important part of the process. In the initial clothing Security and Communication Networks 3 design process, the designer mainly provides the initial outline drawing and then selects the appropriate method to make the garment. According to different ways, there are plane cutting method and stereo cutting method. e former is suitable for most mature clothing styles, while the latter requires designers to have an excellent sense of space and imagination, which is also time-consuming. With the introduction of computer-aided design, the garment pushing process that needs repeated experiments can be assisted by computer, which can greatly improve the efficiency of design. At present, among many garment editing software packages, many software packages only have partial twodimensional functions, that is, two-dimensional plane garment design mode. Because of the tedious process and the inability to know the actual clothes dressing situation in time, most of the software can only provide CAD drawing for subsequent machine plate making, so with the design of clothes, the importance of 3D virtual clothes dressing system is becoming more and more prominent. Based on the platform we developed, we have realized the 2D clothing CAD design framework and 3D scene physical simulation effects that can be used in practice. However, there is a certain gap between these and the actual needs of the clothing design industry. In actual work, we will encounter various problems, such as the flipping effect of the neckline, the stitching effect of multiple pieces of clothing, and the folding effect of the stitched edge. e existing platform cannot support these features very well. is part of the operation type needs to be redesigned and integrated into the original framework system. e original seam stitching logic is mainly to specify the corresponding seam relationship according to the edge, and this part requires the force between the edges in implementation. e general practice is to stitch the two sides with the same number of vertices and then calculate the force relationship between the corresponding vertices. However, in practice, it is generally difficult to ensure that there are corresponding vertices on both sides of the suture, and even the same number of vertices cannot be guaranteed due to different side lengths. As a result, the force between points is ignored when computing the real force. e model is replaced with the connection between the points and edges. In reality, there are still numerous difficulties to address for particular instances. To begin, we overcome these challenges by beginning with the suture logic that has been described. A pair of active edges and the suture direction is usually mentioned when defining a suture. As a key problem in multilayer clothing collision processing, the collision processing between moving points and moving triangles takes the moving triangles as the reference when analyzing the force situation, and the moving points move a certain distance relative to the triangles. e trajectory line of the moving point is a line segment that intersects with the triangle. rough the primitive intersection detection, the centroid coordinates of the collision point can be obtained. It is the impulse of the collision point acting on the moving point positively, which can be obtained from the momentum conservation equation: Equations (1)-(3) reveal the distribution of the force acting on the motion point and the motion triangle.
If it is detected that a certain part of the clothing has selfcollision during the collision detection process of the clothing, the position of the collision point needs to be calculated first:

Security and Communication Networks
Using a similar method, the velocity of the impact point is as follows: e patch mechanical model based on patch angle to calculate potential energy can calculate the folding constraint effect on a single patch grid. What we have done is to make the two side pieces of the suture fold based on the original suture calculation. For fast fitting, we set the termination angle θ 0 . When θ approaches θ 0 , it can be considered that the simulation end point and the elastic folding force equation of the original patch will be deformed as follows: In this way, a special fitting effect can be achieved at the force level, but this only works when specifying the end angle of an edge in the mesh, and its effect is limited to a single piece. We need a way for this confinement effect to be calculated across both mesh topologies. In the garment stitching logic, we can only specify the patch pairs on both sides of the two seams as reference objects. At the same time, we need to apply folding constraints when the stitching effect ends dynamically for the stitching effect. It is generally considered both ends of the seam. If the distance is less than a given scale, the suture is considered to be over, and if the suture is torn, the folding effect is not calculated.

Result Analysis and Discussion
When simulating the human body to try on 3D virtual clothing, a large number of collision phenomena will be formed. erefore, it is only by effectively dealing with the collision problem that the simulation of virtual dressing can be realized. e OBB tree approach is utilized in this work to consider the tropic bounding box as the object's bounding box and create an OBB tree for collision detection. e "segment axis" approach is used to determine whether two bounding boxes intersect and to guarantee that the bounding boxes are tightly associated with objects, improving bounding box detection hit rates. An OBB is a cuboid bounding box in an arbitrary direction in threedimensional space, and the hierarchical structure of multiple OBBs is an OBB tree. e simulation realization process of human virtual clothing is to realize the transformation process of 2D clothing template to 3D clothing. It can be seen from this that the transformation process realizes the transformation from flat garments to three-dimensional garments, which truly simulates the natural drape of garments, and can accurately analyze the rationality of garment design. BP prediction model prediction is shown in Figure 3. e garment parts, whether cut by hand, read by a digitizer, or created by a CAD system, have only two-dimensional qualities and cannot be sewed or dynamically shown directly on the three-dimensional virtual human platform. erefore, to realize virtual sample garment stitching, we must first carry out two-dimensional garment piece three-dimensional processing, that is, garment piece attribute conversion. e so-called garment piece attribute refers to the information describing the shape and geometric structure of the garment piece, such as the name of the garment piece, the location of the dart, the coordinates of the start point and end point of the edge, and the name of the edge. After attribute conversion, the garment piece has a series of information about positioning and stitching, which makes preparations for the mapping from garment piece to platform. e prediction of OBB tree algorithm is shown in Figure 4.
A garment usually contains several parts, which need to be sewn together to form a whole. Let us call the edge to be stitched the stitched edge and the point to be stitched the stitched point. A seam edge contains several seam points. e precondition that two corresponding stitched edges can be merged is that the edges contain the same number of points, and the precondition that two corresponding stitched points can be merged is that the distance between the two points is close enough. e stitching operation is to merge two corresponding stitched edges into one edge and two corresponding stitched points into one point. e comparison of the test results is shown in Figure 5. e curve of Cascade AdaBoost is always better than the experimental results of SVM. In actual monitoring, it is generally hoped to effectively avoid missed detection of targets; that is, the missed detection rate should be as low as possible.
Collision processing is relatively simple compared with collision detection. e method of specular emission similar to light can be used, as shown in the figure, to modify the position and speed of the clothing particles, and then, the energy loss during the collision process can be considered. After a collision, the tangential and normal velocities are lowered. e simpler it is for the clothing to get stable, the greater the energy loss. e size of the tangential and normal velocity losses varies, which has an effect on the drape of the garment and may be improved. A appropriate loss factor may be determined by research and repeated trials to create a comparably excellent display effect. e amount of time it takes from the start of the simulation to the end of the simulation is the major measure during the experiment. Generally, we think that when the sum of the kinetic energy of the nodes is less than a threshold, the simulation can be considered to have reached the stable end point of the simulation. If this time is too long, it will affect the use, especially in the process of complex clothing piece simulation, and to achieve a good effect, the clothing piece needs to be adjusted many times. An efficient algorithm is more important in the design process. e simulation time statistics of various clothes are shown in Figure 6.
It can be seen that the simulation of complex clothing pieces needs more time to achieve the simulation effect. Each Security and Communication Networks 5 simulation can reach the simulation end point in a short time to meet the needs of algorithm efficiency and practical use. e human body model collision detection is shown in Figure 7.
To simplify the human body model before and after the distance field calculation, the time consumed by the distance field calculation is compared. It can be seen here that when the human body model mesh is simplified, the distance field calculation time can be significantly reduced, and when the human body model is simplified, it can be seen that the adaptive distance field is many times faster than before the simplification. It can be concluded that the simplification of     Security and Communication Networks the human body model can greatly speed up the calculation of the distance field and reduce the calculation time. In this way, the computational pressure of the system can be reduced, and the garment convergence process of virtual fitting can be accelerated. Fashion design encompasses a wide range of topics and requires adherence to a variety of concepts, making the process more tough and complicated. Many good benefits may be achieved via the use of 3D virtual simulation technology, which necessitates the formation of understanding among garment designers. ree factors contribute to the good impact of 3D virtual simulation technology on fashion design: ① design intuition is improved. ree-dimensional virtual simulation technology has three-dimensional properties as compared to conventional graphic design. It can demonstrate the influence of garment design in a three-dimensional environment while carrying out garment design, making it easier to intuitively determine the applicability of design scheme. ② e production cost of sample clothes is reduced. In the garment industry, the production of sample clothes is also involved from garment design to production; that is, after the preliminary design is completed, the sample clothes are made first, and the effect is confirmed by trying on the sample clothes. Often, fashion design cannot meet the standard at one time and needs to be modified many times, which requires making sample clothes many times, with high cost. e use of three-dimensional virtual simulation technology allows the test to be completed in the program without the need for sample clothing, saving time and money. ③ e efficiency of the fashion design process is enhanced. Many universal models or scenarios may be created using 3D virtual simulation technology. ese models or scenarios may be utilized immediately in later designs without the need for further design. As a result, the efficiency of succeeding fashion design has greatly increased.
is chapter explains the traditional configuration and improvement techniques in the area of clothing simulation, as well as the numerous algorithms and overall processes of clothing items in the field of physical simulation. A software  Security and Communication Networks 7 framework for virtual apparel creation has been created based on the simulation architecture. is platform takes into account the running effect and speed and achieves a good balance between the simulation effect and user experience. In this section, the actual implementation and calculation method of general sutures in the current interactive system are also introduced, and the special free suture exchange and cutting method are described, and good results are achieved. At the same time, for the special needs in suture, we also provide a suture folding algorithm based on the folding relationship of the suture. A new force constraint is added between the two sides of the seam. rough the improvement of the original physical simulation process, the expected effect is achieved, and it is realized in the virtual human body fitting platform.

Conclusions
Nowadays, modern computer technology is a very effective way to improve work efficiency and quality of life. At present, computer technology is used to simplify fashion design using design software. Fashion design is a very comprehensive work, including many aspects of work. In the process of fashion design, we need to make use of some advanced technologies, such as three-dimensional virtual simulation technology. is technology can play a positive role in many aspects of garment design and improve the design effect, which requires garment design practitioners to apply the three-dimensional virtual simulation technology in their work practice. e simulation algorithm in the implementation platform is applied to some finite element analysis-related problems. is study describes some classical physical models, selects more reasonable triangular patches to simulate the physical movement of clothing in practice, introduces some basic dynamic knowledge in the field of clothing simulation, and analyzes and applies the methods. A physical simulation module based on distance field technology is built. is module is used in the platform to achieve the effect of physical simulation, and the display module is responsible for displaying. At the same time, to consider the platform's operating impact and speed, we did certain simulation effect and user experience adjustments and reached a balance in efficiency and experience. After that, we introduced the data interaction mode related to suture and discussed the situation of multi-section suture. On the basis of the original CAD platform, we added the free suture interaction method and solved the problem that the traditional platform could not solve free suture using divideand-conquer algorithm. For the special needs of suture, we also provide a suture folding algorithm based on the folding relationship of suture, establish an improved suture force constraint model, simulate the special force constraint effect of suture in practice, and test it on the system, and the effect is good. ree-dimensional virtual fitting system is a very powerful and complete system, which needs to provide different clothing fitting for mannequins of different genders and ages.
is study only achieves part of the dressing effect of women. e virtual dress method introduced in this study cannot realize some clothes with special styles, such as fluttering waistband and embellishment of chest flowers. When writing the program, all possible errors have not been taken into account, so the robustness of the program needs to be further strengthened. 3D virtual clothing technology is a big research topic. e fitting process includes the mixing of several subalgorithms. Considering how to flexibly combine all the subalgorithms of motion, each subalgorithm has a certain impact on the final result, and there are many possibilities for their mutual call order. How to flexibly combine motion and reasonably combine optimization is an urgent problem to be considered. With the rapid development of computer simulation technology and computer hardware performance, the research results in the field of 3D virtual clothing technology will continue to be updated, the technical scheme will be more mature, and the application field will continue to expand.

Data Availability
e data used to support the findings of this study are included within the article.

Conflicts of Interest
e author declares that there are no conflicts of interest.