Journal of Textile Research ›› 2026, Vol. 47 ›› Issue (06): 170-177.doi: 10.13475/j.fzxb.20251104701

• Apparel Engineering • Previous Articles     Next Articles

Reverse engineering method of dresses using diffusion model with body shape constraints

SHEN Hong, DUAN Qinggui, MENG Hu()   

  1. College of Biomass Science and EngineeringSichuan University, ChengduSichuan 610065, China
  • Received:2025-11-18 Revised:2026-04-02 Online:2026-06-15 Published:2026-08-19
  • Contact: MENG Hu E-mail:menghu@scu.edu.cn

Abstract:

Objective Traditional garment pattern-making relies heavily on expert knowledge and long-term training, while generative artificial intelligence designs often lack structural information for production. This study aims to develop an engineering method method for dresses that integrates user-specific body shape constraints with a diffusion model, enabling direct transformation of three-dimensional body data into manufacturable two-dimensional patterns. The approach is expected to reduce professional barriers and supports rapid customization for small and medium-sized enterprises.

Method A three-stage workflow was established. First, a parametric human model and base garment model were built, before being transferred to nine personalized body shapes via landmark-based registration and mesh deformation. Second, multi-angle views of the three-dimensional garment were converted into Canny and Depth constraints using ControlNet, to guide a Stable Diffusion model for generating design images with clear structural lines. Finally, structural lines were mapped onto the three-dimensional garment, which was segmented and unfolded into two-dimensional patterns using a mass-spring system.

Results Single-factor experiments showed that the Canny and Depth dual-constraint scheme minimized blurriness of the structural lines and produced the most natural lines, with form deviation below one centimeter in fitted areas. Single constraints often caused spatial reduction or structural deviation, while posture control alone lacked garment structure information. Unfolding deformation was quantified across nine key dimensions using reverse analysis based on the short-measure prototype method. Shoulder width exhibited high stability with a standard deviation of 0.02, whereas the side-neck-to-bust-point length and front-armpit-to-waistline length were more sensitive to partition line placement, with standard deviations of 0.28 and 0.27 respectively. Placing partition lines near the bust point, where Gaussian curvature is high, reduced overall deformation energy during unfolding. Deformation was not uniform but concentrated in areas opposite the partition lines. Virtual fitting in CLO 3D software demonstrated that the final garments fitted the parametric models well, with smooth contour lines and appropriate ease. Simulated garment pressure ranged from 1.2 to 2.0 kPa, within the human comfort range. Physical garment validation confirmed feasibility: key measurements including bust and waist circumference showed an average error below 1.5% relative to design specifications. The ready-to-wear garment exhibited good fit without excessive tightness or wrinkles, and the wearer reported sufficient freedom for routine movements.

Conclusion A digital workflow integrating parametric modeling, controllable diffusion models, and physical unfolding was established for reverse garment engineering. It bridges generative artificial intelligence visual concepts and producible structural patterns while maintaining fit accuracy and style integrity. The method reduces reliance on traditional pattern-making expertise and enables efficient personalized customization, particularly for small and medium-sized enterprises. However, the approach faces challenges with highly complex structures such as multi-layered or densely gathered designs. A rigorous mathematical model to quantify the influence of segmentation line placement on deformation rates has not yet been developed. Future work should focus on building a quantitative relationship between segmentation lines and surface deformation energy, expanding the fabric physical parameter database, and introducing curvature maps to guide segmentation line generation near key body points, combined with material-specific compensation strategies. These improvements will enhance the method's general

Key words: garment pattern-making, dress, structural design, diffusion model, reverse engineering

CLC Number: 

  • TS941.2

Fig.1

Flowchart of reverse development process for dresses"

Fig.2

Human model and region division. (a) Parametric human model; (b) Human body region division"

Fig.3

Editing of key parts of garment model. (a) Circumference ease adjustment; (b) Garment grid editing"

Fig.4

Series of basic garment models. (a) Suit; (b) Dress"

Fig.5

Basic models for different body type. (a) Obese body type; (B) Chest-bent body type; (C) Sloping shoulder body type"

Fig.6

Multi-angle garment models. (a) Front garment model; (b) Oblique side garment model; (c) Back garment model"

Fig.7

Control charts of different constraint groups. (a) Canny constraint chart; (b) Depth constraint chart; (c) Normal constraint chart; (d) Seg constraint chart; (e) OpenPose constraint chart"

Fig.8

Garment structure design drawings"

Fig.9

Garment style drawings"

Fig.10

Garment model unfolding. (a) Garment model; (b) 3-D segmentation; (c) 2-D pattern"

Fig.11

Image quality problems. (a) Image with spatial missing; (b) Image with structure deviation; (c) Image with model change"

Tab.1

Definition of key measurement dimensions"

测量测量部位名称 符号 尺寸定义
肩宽 A 颈侧至肩峰点的距离
前肩斜长 B 肩峰点至胸点的距离
乳点侧长 C 颈侧至胸点的距离
胸肩宽 D 颈侧至前颈点的距离
前领口斜长 E 肩峰点至前颈点的距离
半胸点间距 F 左右胸点间距的二分之一
前袖窿弧线长 G 前袖窿弧线长度
前肩点长 H 肩峰点至前腋点的距离
前腋点至腰围线长 I 前腋点至腰围线的距离

Tab.2

Overview table of key dimension data"

符号 最小值 最大值 平均值 标准差
A 10.39 10.44 10.40 0.02
B 22.54 22.97 22.73 0.13
C 24.34 25.21 24.67 0.28
D 17.42 17.85 17.63 0.17
E 19.03 19.46 19.18 0.14
F 8.28 8.83 8.46 0.17
G 18.91 19.62 19.23 0.26
H 10.74 11.05 10.90 0.09
I 21.88 22.63 22.20 0.27

Fig.12

Degree of deformation of garment patterns"

Fig.13

Clothing comparison chart. (a) Garment model; (b) Pressure simulation; (c) Ready-to-wear try-on"

[1] 解晓溪, 曲洪建, TING Chi. 服装产品在线个性化定制要素对消费者购买意愿的影响[J]. 毛纺科技, 2025, 53(4): 71-77.
XIE Xiaoxi, QU Hongjian, TING Chi. Influence of online personalized customization elements of clothing products on consumer purchase intention[J]. Wool Textile Journal, 2025, 53(4): 71-77.
[2] CHEN H, LEI S, ZHANG S G, et al. Man-algorithm cooperation intelligent design of clothing products in multi links[J]. Fibres and Textiles in Eastern Europe, 2022, 30(1): 59-66.
[3] LIU K X, ZHU C, TAO X Y, et al. Parametric design of garment pattern based on body dimensions[J]. International Journal of Industrial Ergonomics, 2019, 72: 212-221.
[4] 胡佳琪, 宋莹. 基于CLO3D虚拟试衣技术的旗袍着装效果评价研究[J]. 丝绸, 2021, 58(12): 73-79.
HU Jiaqi, SONG Ying. Research on the dressing effect evaluation of Qipao based on CLO 3D virtual fitting technology[J]. Journal of Silk, 2021, 58(12): 73-79.
[5] 纪梦琪, 何瑛, 马咏倩. 基于三维试衣的凸肚体男西裤样板的优化[J]. 纺织学报, 2025, 46(6): 187-195.
JI Mengqi, HE Ying, MA Yongqian. Optimization of trousers patterns for men with protruding abdomen based on three-dimensional fitting[J]. Journal of Textile Research, 2025, 46(6): 187-195.
[6] 冀艳波, 王玲丽, 刘凯旋. 基于数字化三维人体模型的旗袍定制设计[J]. 纺织学报, 2021, 42(1): 133-137, 144.
JI Yanbo, WANG Lingli, LIU Kaixuan. Custom design of cheongsam based on digital 3-D human model[J]. Journal of Textile Research, 2021, 42(1): 133-137, 144.
[7] ZHANG J, INNAMI N, KIM K, et al. Upper garment 3D modeling for pattern making[J]. International Journal of Clothing Science and Technology, 2015, 27(6): 852-869.
[8] 曹晓璐, 卢富男, 朱翔, 等. 基于草图的兼容性服装生成方法[J]. 浙江大学学报(工学版), 2023, 57(5): 939-947.
CAO Xiaolu, LU Funan, ZHU Xiang, et al. Sketch-based compatible clothing image generation[J]. Journal of Zhejiang University (Engineering Science), 2023, 57(5): 939-947.
[9] 朱伟明, 于家蓓. 基于微调扩散模型的智能化衬衫款式图生成[J]. 服装学报, 2025, 10(3): 260-267.
ZHU Weiming, YU Jiabei. Intelligent shirt style drawing generation based on fine-tuned diffusion model[J]. Journal of Clothing Research, 2025, 10(3): 260-267.
[10] TAO W J. Application of garment customization system based on AR somatosensory interactive recognition imaging technology[J]. Advances in Multimedia, 2022, 2022: 7174889.
[11] ZHU Y X, PENG Y J, BOODAGHIAN ASL A. Dual adaptive adjustment for customized garment pattern[J]. Scientific Programming, 2019, 2019: 8069373.
[12] WANG T Y, CEYLAN D, POPOVIC J, et al. Learning a shared shape space for multimodal garment design[J]. ACM Transactions on Graphics, 2018, 37(6): 1-13.
[13] 王伟, 张静宜, 温玉辉, 等. 基于神经网络的图像风格迁移算法综述[J]. 电子学报, 2025, 53(5): 1692-1712.
WANG Wei, ZHANG Jingyi, WEN Yuhui, et al. Neural network based image style transfer: a survey[J]. Acta Electronica Sinica, 2025, 53(5): 1692-1712.
[14] 肖伯祥, 张悦, 胡志远, 等. 速度滑冰比赛服个性化样板生成方法[J]. 纺织学报, 2024, 45(9): 146-153.
XIAO Boxiang, ZHANG Yue, HU Zhiyuan, et al. Individualized pattern generation method of speed skating competition suit[J]. Journal of Textile Research, 2024, 45(9): 146-153.
[1] LI Taotao, ZHANG Heng, ZHEN Qi, LU Peng, ZHAO Ke, LÜ Hongbin. Modification of cotton woven dressings with high-pressure waterjets for improved softness [J]. Journal of Textile Research, 2026, 47(06): 94-103.
[2] CHEN Li, QIU Hong, WANG Lifang, YI Shan, TANG Yika, GAO Hongguo, WANG Meiying, LIU Lifang. Preparation and properties of quaternized modified nanocellulose/poly(vinyl alcohol) aerogel dressings [J]. Journal of Textile Research, 2026, 47(04): 26-33.
[3] ZHANG Zhe, CHEN Zhuoming, LI Fan, SONG Wenya, QIN Siyu, HOU Jindong, YU Yijie. Preparation of multifunctional asymmetric structural nanofiber membranes and its antibacterial and antioxidant properties [J]. Journal of Textile Research, 2026, 47(04): 34-42.
[4] LIN Xiaojing, MAO Ying, CHEN Wenxing, LÜ Wangyang. Preparation and antibacterial and antioxidant properties of curcumin-loaded electrospun membranes [J]. Journal of Textile Research, 2026, 47(03): 217-224.
[5] YI Shan, WANG Lifang, CHEN Li, QIU Hong, TANG Yika, ZHANG Guoqing, WANG Meiying, GAO Yanchun, GE Xiumin, LIU Lifang. Preparation and properties of cellulose nanofiber-based pH-responsive antibacterial and antioxidant wound dressings [J]. Journal of Textile Research, 2026, 47(03): 26-34.
[6] ZHANG Baohua, XIA Jie, XIANG Fuyu, WANG Zhen, WU Shaohua, ZHANG Caidan. Preparation and properties of cinnamaldehyde-loaded polysuccinimide electrospun fiber membrane for antibacterial dressing [J]. Journal of Textile Research, 2026, 47(03): 35-43.
[7] YANG Xiao, ZHANG Yumo, LI Yan, WANG Lu, WANG Fujun. Short-fiber-reconstructed composite dressings integrating glycose-triggered bacterial resistance and exudate management and its performance [J]. Journal of Textile Research, 2026, 47(03): 44-51.
[8] XUE Baoxia, FENG Jiaxin, SHAO Ziyang, LU Jiaxin, LIU Jing, NIU Mei, ZHANG Li. Effect of pre-crosslinked copper ions on structure and properties of carboxymethyl cellulose antibacterial aerogel fibers [J]. Journal of Textile Research, 2026, 47(03): 52-59.
[9] KONG Yanhui, ZHANG Linping, MAO Zhiping, XU Hong. Preparation and hemostatic properties of methacryloyl gelatin fiber membranes [J]. Journal of Textile Research, 2026, 47(01): 1-10.
[10] YU Qiuyu, WU Jiang, TAN Yanjun, SHAN Wenxi, DENG Yuntao, LI Zongquan. Preparation and properties of calcium alginate freeze dried three-dimensional porous materials [J]. Journal of Textile Research, 2026, 47(01): 11-19.
[11] ZHANG Hui, ZHOU Xuan, WANG Junwei, DENG Yongmei, ZHANG Kaibing. Cross-attention excited color-semantic consistent generation for textile digital printing patterns [J]. Journal of Textile Research, 2026, 47(01): 176-185.
[12] ZHAO Jingwen, YUAN Xiangnan, GAO Jing, WANG Lu. Preparation and properties of polyacrylonitrile-Prussian blue/lactic acid/ciprofloxacin photothermal responsive antibacterial dressings [J]. Journal of Textile Research, 2026, 47(01): 20-28.
[13] SHI Binlin, DONG Zhijia, MA Pibo, CONG Honglian, WU Guangjun, LIU Bo. Structural design of robot neck joint covering using whole-garment knitting technology [J]. Journal of Textile Research, 2025, 46(12): 116-122.
[14] ZHANG Ying, GUO Mingjing, WANG Lijun. Design of knitted temperature sensors and their sensing performance under wearing conditions [J]. Journal of Textile Research, 2025, 46(12): 123-132.
[15] YIN Qiaolin, NI Shenyijia, ZHENG Qi, HE Ying. Construction and application of comprehensive dress evaluation model based on body shape characteristics [J]. Journal of Textile Research, 2025, 46(12): 198-207.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!