{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,12]],"date-time":"2026-06-12T13:51:33Z","timestamp":1781272293752,"version":"3.54.1"},"reference-count":40,"publisher":"MDPI AG","issue":"5","license":[{"start":{"date-parts":[[2021,5,12]],"date-time":"2021-05-12T00:00:00Z","timestamp":1620777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Guangdong Basic and Applied Basic Research Projects","award":["2019A1515111082"],"award-info":[{"award-number":["2019A1515111082"]}]},{"name":"Fund for High Level Talents Afforded by University of Electronic Science and Technology of China, Zhongshan Institute","award":["417YKQ12, 419YKQN15"],"award-info":[{"award-number":["417YKQ12, 419YKQN15"]}]},{"name":"Social Welfare Major Project of Zhongshan","award":["2019B2010, 2019B2011"],"award-info":[{"award-number":["2019B2010, 2019B2011"]}]},{"name":"Achievement Cultivation Project of Zhongshan Industrial Technology Research Institute","award":["419N26"],"award-info":[{"award-number":["419N26"]}]},{"name":"Young innovative talents project of Education Department of Guangdong Province","award":["419YIY04"],"award-info":[{"award-number":["419YIY04"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Information"],"abstract":"<jats:p>A 2D floor plan (FP) often contains structural, decorative, and functional elements and annotations. Vectorization of floor plans (VFP) is an object detection task that involves the localization and recognition of different structural primitives in 2D FPs. The detection results can be used to generate 3D models directly. The conventional pipeline of VFP often consists of a series of carefully designed complex algorithms with insufficient generalization ability and suffer from low computing speed. Considering the VFP is not suitable for deep learning-based object detection frameworks, this paper proposed a new VFP framework to solve this problem based on a generative adversarial network (GAN). First, a private dataset called ZSCVFP is established. Unlike current public datasets that only own not more than 5000 black and white samples, ZSCVFP contains 10,800 colorful samples disturbed by decorative textures in different styles. Second, a new edge-extracting GAN (EdgeGAN) is designed for the new task by formulating the VFP task as an image translation task innovatively that involves the projection of the original 2D FPs into a primitive space. The output of EdgeGAN is a primitive feature map, each channel of which only contains one category of the detected primitives in the form of lines. A self-supervising term is introduced to the generative loss of EdgeGAN to ensure the quality of generated images. EdgeGAN is faster than the conventional and object-detection-framework-based pipeline with minimal performance loss. Lastly, two inspection modules that are also suitable for conventional pipelines are proposed to check the connectivity and consistency of PFM based on the subspace connective graph (SCG). The first module contains four criteria that correspond to the sufficient conditions of a fully connected graph. The second module that classifies the category of all subspaces via one single graph neural network (GNN) should be consistent with the text annotations in the original FP (if available). The reason is that GNN treats the adjacent matrix of SCG as weights directly. Thus, GNN can utilize the global layout information and achieve higher accuracy than other common classifying methods. Experimental results are given to illustrate the efficiency of the proposed EdgeGAN and inspection approaches.<\/jats:p>","DOI":"10.3390\/info12050206","type":"journal-article","created":{"date-parts":[[2021,5,12]],"date-time":"2021-05-12T10:59:12Z","timestamp":1620817152000},"page":"206","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":30,"title":["Vectorization of Floor Plans Based on EdgeGAN"],"prefix":"10.3390","volume":"12","author":[{"given":"Shuai","family":"Dong","sequence":"first","affiliation":[{"name":"Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528400, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wei","family":"Wang","sequence":"additional","affiliation":[{"name":"Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528400, China"},{"name":"School of Automation, Guangdong University of Technology, Guangzhou 510006, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wensheng","family":"Li","sequence":"additional","affiliation":[{"name":"Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528400, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kun","family":"Zou","sequence":"additional","affiliation":[{"name":"Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528400, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,5,12]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"765","DOI":"10.1016\/S0010-4485(98)00031-1","article-title":"Generation of 3D building models from 2D architectural plans","volume":"30","author":"Lewis","year":"1998","journal-title":"Comput. Aided Des."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1016\/j.jobe.2015.04.002","article-title":"Review: Reconstruction of 3D building information models from 2D scanned plans","volume":"2","author":"Gimenez","year":"2015","journal-title":"J. Build. Eng."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1053","DOI":"10.1016\/j.cad.2004.11.004","article-title":"A new recognition model for electronic architectural drawings","volume":"37","author":"Lu","year":"2005","journal-title":"Comput. Aided Des."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"527","DOI":"10.1080\/16864360.2005.10738402","article-title":"3D Reconstruction of Detailed Buildings from Architectural Drawings","volume":"2","author":"Lu","year":"2005","journal-title":"Comput. Aided Des. Appl."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"31","DOI":"10.1007\/s10032-006-0029-6","article-title":"Automatic analysis and integration of architectural drawings","volume":"9","author":"Lu","year":"2006","journal-title":"Int. J. Doc. Anal. Recognit."},{"key":"ref_6","unstructured":"Zhu, J. (2013). Research on 3D Building Reconstruction from 2D Vector Floor Plan Based on Structural Components Recognition. [Master\u2019s Thesis, Tsinghua University]."},{"key":"ref_7","unstructured":"Jiang, Z. (2016). Research on Floorplan Image Recognition Based on Shape and Edge Features. [Master\u2019s Thesis, Harbin Institute of Technology]."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1016\/j.autcon.2015.12.008","article-title":"Automatic reconstruction of 3D building models from scanned 2D floor plans","volume":"63","author":"Gimenez","year":"2016","journal-title":"Autom. Constr."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Tombre, K., Tabbone, S., Pelissier, L., Lamiroy, B., and Dosch, P. (2002). Text\/Graphics Separation Revisited. International Workshop on Document Analysis Systems, Springer.","DOI":"10.1007\/3-540-45869-7_24"},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Ahmed, S., Weber, M., Liwicki, M., and Dengel, A. (2011, January 18\u201321). Text\/Graphics Segmentation in Architectural Floor Plans. Proceedings of the 2011 International Conference on Document Analysis and Recognition, Beijing, China.","DOI":"10.1109\/ICDAR.2011.153"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Ahmed, S., Liwicki, M., Weber, M., and Dengel, A. (2012, January 27\u201329). Automatic Room Detection and Room Labeling from Architectural Floor Plans. Proceedings of the 10th IAPR International Workshop on Document Analysis Systems, Gold Coast, Australia.","DOI":"10.1109\/DAS.2012.22"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Smith, R. (2007, January 23\u201326). An overview of the Tesseract OCR engine. Proceedings of the Ninth International Conference on Document Analysis and Recognition (ICDAR 2007), Curitiba, Brazil.","DOI":"10.1109\/ICDAR.2007.4376991"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"161","DOI":"10.1007\/s11263-020-01369-0","article-title":"Scene Text Detection and Recognition: The Deep Learning Era","volume":"129","author":"Long","year":"2021","journal-title":"Int. J. Comput. Vis."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Dodge, S., Xu, J., and Stenger, B. (2017, January 8\u201312). Parsing floor plan images. Proceedings of the 2017 Fifteenth IAPR International Conference on Machine Vision Applications (MVA), Nagoya, Japan.","DOI":"10.23919\/MVA.2017.7986875"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Liu, C., Wu, J., Kohli, P., and Furukawa, Y. (2017, January 22\u201329). Raster-to-Vector: Revisiting Floorplan Transformation. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/ICCV.2017.241"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1137","DOI":"10.1109\/TPAMI.2016.2577031","article-title":"Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks","volume":"39","author":"Ren","year":"2015","journal-title":"IEEE Trans. Pattern Anal. Mach. Intell."},{"key":"ref_17","unstructured":"Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Duan, K., Bai, S., Xie, L., Qi, H., Huang, Q., and Tian, Q. (2019). CenterNet: Object Detection with Keypoint Triplets. arXiv.","DOI":"10.1109\/ICCV.2019.00667"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Law, H., and Deng, J. (2019). CornerNet: Detecting Objects as Paired Keypoints. arXiv.","DOI":"10.1007\/s11263-019-01204-1"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Ronneberger, O., Fischer, P., and Brox, T. (2015, January 5\u20139). U-net: Convolutional networks for biomedical image segmentation. Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Cham, Switzerland.","DOI":"10.1007\/978-3-319-24574-4_28"},{"key":"ref_21","unstructured":"Goodfellow, I.J., Pouget-abadie, J., Mirza, M., Xu, B., and Warde-farley, D. (2014). Generative Adversarial Nets. arXiv."},{"key":"ref_22","unstructured":"Sandelin, F. (2019). Semantic and Instance Segmentation of Room Features in Floor Plans Using Mask R-CNN. [Master\u2019s Thesis, Uppsala University]."},{"key":"ref_23","unstructured":"Mirza, M., and Osindero, S. (2014). Conditional Generative Adversarial Nets. arXiv."},{"key":"ref_24","unstructured":"Odena, A., Olah, C., and Shlens, J. (2017, January 6\u201311). Conditional Image Synthesis with Auxiliary Classifier GANs. Proceedings of the International Conference on Machine Learning, ICML 2017, Sydney, Australia."},{"key":"ref_25","unstructured":"Arjovsky, M., Chintala, S., and Bottou, L. (2017). Wasserstein GAN. arXiv."},{"key":"ref_26","unstructured":"Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A. (2017). Improved Training of Wasserstein GANs. arXiv."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Isola, P., Zhu, J.-Y., Zhou, T., and Efros, A.A. (2017, January 21\u201326). Image-to-Image Translation with Conditional Adversarial Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.632"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"53","DOI":"10.1109\/MSP.2017.2765202","article-title":"Generative Adversarial Networks: An Overview","volume":"35","author":"Creswell","year":"2018","journal-title":"IEEE Signal Process. Mag."},{"key":"ref_29","first-page":"1","article-title":"How Generative Adversarial Networks and Their Variants Work","volume":"52","author":"Hong","year":"2019","journal-title":"ACM Comput. Surv."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Wang, T.C., Liu, M.Y., Zhu, J.Y., Tao, A., Kautz, J., and Catanzaro, B. (2017, January 22\u201329). High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs. Proceedings of the IEEE International Conference on Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/CVPR.2018.00917"},{"key":"ref_31","unstructured":"Wang, T., Liu, M., Zhu, J., Liu, G., Tao, A., Kautz, J., and Catanzaro, B. (2018). Video-to-Video Synthesis. arXiv."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Zhu, J.-Y., Park, T., Isola, P., and Efros, A.A. (2017, January 22\u201329). Unpaired Image-to-Image Translation Using Cycle-Consistent Adversarial Networks. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/ICCV.2017.244"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Yi, Z., Zhang, H., Tan, P., and Gong, M. (2017, January 22\u201329). DualGAN: Unsupervised Dual Learning for Image-to-Image Translation. Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy.","DOI":"10.1109\/ICCV.2017.310"},{"key":"ref_34","unstructured":"Kim, T., Cha, M., Kim, H., Kwon, J., and Jiwon, L. (2017). Learning to Discover Cross-Domain Relations with Generative Adversarial Networks. arXiv."},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Kalervo, A., Ylioinas, J., H\u00e4iki\u00f6, M., Karhu, A., and Kannala, J. (2019). CubiCasa5K: A Dataset and an Improved Multi-task Model for Floorplan Image Analysis. arXiv.","DOI":"10.1007\/978-3-030-20205-7_3"},{"key":"ref_36","unstructured":"(2020, October 13). Facebook. Available online: https:\/\/Pytorch.Org\/."},{"key":"ref_37","unstructured":"(2020, June 25). Nvidia. Available online: https:\/\/Developer.Nvidia.Com\/Zh-Cn\/Cuda-Toolkit."},{"key":"ref_38","unstructured":"Li, H. (2019). Statistical Learning Method, Tsinghua Press."},{"key":"ref_39","unstructured":"Zambaldi, V., Raposo, D., Santoro, A., and Bapst, V. (2018). Relational Deep Reinforcement Learning. arXiv."},{"key":"ref_40","doi-asserted-by":"crossref","unstructured":"Kim, Y., Kim, S., Kim, T., and Kim, C. (2019, January 8\u201310). CNN-Based Semantic Segmentation Using Level Set Loss. Proceedings of the 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa Village, HI, USA.","DOI":"10.1109\/WACV.2019.00191"}],"container-title":["Information"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2078-2489\/12\/5\/206\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:59:47Z","timestamp":1760162387000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2078-2489\/12\/5\/206"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,5,12]]},"references-count":40,"journal-issue":{"issue":"5","published-online":{"date-parts":[[2021,5]]}},"alternative-id":["info12050206"],"URL":"https:\/\/doi.org\/10.3390\/info12050206","relation":{},"ISSN":["2078-2489"],"issn-type":[{"value":"2078-2489","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,5,12]]}}}