# An Interactive Personalized Garment Design Recommendation System Using Intelligent Techniques
## 4 Implementation and Application
### Adaptation of the Pants Patterns
\begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**No.** & **Design Elements** & \multicolumn{3}{c}{**Garment Ease Corresponding to Various Style and Garment Fit Characteristics**} \\ \hline
1 & Waistline position & \(GE_{wl}^{std}=\left[\begin{array}{cccc}l_{w}&n_{w}&h_{w}\\ -3&0&0\end{array}\right]^{T}\) & \\
2 & Pants length & \(GE_{pl}^{std}=\left[\begin{array}{cccc}-0\overline{sl}WH&-0\overline{sl}WH&-0 \overline{sl}WH&-0\overline{sl}WH&-0\overline{sl}WH&-0\overline{sl}WH&-0 \overline{sl}WH&-0\overline{sl}WH&f_{0}^{l}\end{array}\right]^{T}\) \\
3 & Waist girth & \(GE_{wg}^{std}=\left[\begin{array}{cccc}tt&it&it&it&l_{o}&it\\ -2&0&2&4&6\end{array}\right]^{T}\) & \\
4 & Hip girth & \(GE_{hg}^{std}=\left[\begin{array}{cccc}t&tt&il&il&lo&tl\\ 0&4&8&12&16\end{array}\right]^{T}\) & \\
5 & Knee girth & \(GE_{kg}^{std}=\left[\begin{array}{cccc}tt&it&it&il&lo&tl\\ 0&3&6&9&12\end{array}\right]^{T}\) & \\
6 & Ankle girth & \(GE_{kg}^{std}=\left[\begin{array}{cccc}t&it&it&il&lo&tl\\ 0&4&8&12&16\end{array}\right]^{T}\) & \\ \hline \hline \end{tabular}  
Where \(WH\) is denoted as the waist height of the human body.  
Step 2: Through comparing with the ease data of pattern five, we obtained the general adaption requirements for each feature position (see Table 9). Furthermore, the adaptation requirements were distributed for each pattern element at feature position.  
\end{table} 
Table 8: The garment ease in the garment ease allowance database (Unit: cm). \begin{table}
\begin{tabular}{c c c c c c c} \hline \hline
**Human Body** & \multicolumn{3}{c}{**Pattern 5**} & \multicolumn{3}{c}{**Target Patterns**} & **Adaptation** \\ \hline
**Position 1** & **Dimension 1** & **Position 2** & **Dimension 2** & **Ease I** & **Position 3** & **Ease II** & **Requirements** \\ \hline \(WG_{h}\) & 68.9 & \(WG_{P5}\) & 78 & 9.1 & \(WG_{TG}\) & 0 & \(-9.1\) \\ \(HG_{h}\) & 88.9 & \(HG_{P5}\) & 96 & 7.1 & \(HG_{TG}\) & 3.908 & \(-3.192\) \\ \(KG_{h}\) & 35.2 & \(KG_{P5}\) & 32 & \(-3.2\) & \(KG_{TG}\) & 2.949 & 6.149 \\ \(AG_{h}\) & 23.3 & \(OG_{P5}\) & 25 & 1.7 & \(OG_{TG}\) & 3.964 & 2.264 \\ \(CL_{h}\) & 28.4 & \(CL_{P5}\) & 26.9 & \(-1.5\) & \(CL_{TG}\) & \(-0.846\) & 0.636 \\ \(WH_{h}\) & 106 & \(PL_{P5}\) & 90 & \(-16\) & \(PL_{TG}\) & \(-14.755\) & 1.245 \\ \hline \hline \end{tabular}  
* Where \(WG_{h}\), \(HG_{h}\), \(KG_{h}\), \(AG_{h}\), \(CL_{h}\), and \(WH_{h}\) are denoted as the waist girth, hip girth, knee girth, ankle girth, \(\text{acfp}\), \(\text{ctrch length}\), and waist height of the human body, respectively; \(WG_{P5}\), \(HG_{P5}\), \(KG_{P5}\), \(AG_{P5}\), \(CL_{P5}\), and \(PL_{P5}\) refer to the waist girth, hip girth, knee girth, ankle girth, \(\text{acfp}\), \(\text{ctrch length}\), and pants length of pattern 5, respectively; \(WG_{TG}\), \(HG_{TG}\), \(KG_{TG}\), \(AG_{TG}\), \(CL_{TG}\), and \(PL_{TG}\) refer to the waist girth, hip girth, knee girth, ankle girth, \(\text{acfp}\), and pants length of the target pattern, respectively.  
\end{table} 
Table 9: The adaptation requirements of the pattern (unit: cm). Step 4: Adaptation of the back panel following the general principle described in Step 4. The final adaptation effects were illustrated in Figure 8. The hip part turned red from green for the adjusted pattern, meaning that the hip became tighter. Meanwhile, the knee part became blue, indicating that the part was looser than before. Figure 7: General adaptation flowchart of the structure lines and controlling points.