The Applicability of Two Generative Adversarial Networks to Generative Plantscape Design: A Comparative Study
Abstract
:1. Introduction
2. Materials and Methods
2.1. Analytical Framework
2.2. Data Collection and Preparation
2.3. Training and Testing
2.3.1. Flower Border GAN Model
- Pix2Pix
- 2.
- CycleGAN
2.3.2. Training
2.3.3. Testing
3. Results
3.1. Two Rounds of Test Results
3.2. Comparison of Test Results
3.3. Optimization of the Results
- Boundary correction: retain the boundaries and internal color blocks of the flower border, eliminate redundant color blocks beyond the design boundary, remove unnecessary elements, reshape the boundary lines, and repair missing boundaries.
- Color Separation: Extract the plant elements in the image one by one against the predefined plant categories and their color-matching standards in preparation for the subsequent vectorization process. For cases where there is a slight deviation between the color values of some pixel points and the 56 valid colors, they are corrected using similar valid colors. If the generated image produces meaningless noise or the color value is too different from the selected 56 valid colors, the color of the pixel is unified as the color of the background area.
- Simulation of plant patches: Relatively regular and natural arcs and line segments are used to fit the plant patches on the median axis of the color block demarcation in order to make them more in line with the characteristics of the actual flower border plant. For example, standard-sized dots can be used to fit the tree-like plants and modeling shrubs.
- Vectorization processing: After the image pre-processing is completed, the image is converted into a vector format. Firstly, the boundary information is extracted using the stroke vectorization method. Then, different plant elements in the image are segmented into different regions according to the color, and each region is converted into the corresponding vector representation. Finally, the vectorization results are saved in different vector file formats suitable for different needs and application scenarios.
3.4. Comparison of the Two Algorithms
3.4.1. Image Quality
3.4.2. Design Mode
3.5. Generation Results Evaluation
3.5.1. Image Quality Assessment
- Site boundary processing: The evaluation criterion is centered on the completeness and accuracy of site boundaries, and representative cases of strip sites and curved sites are selected for analysis in this study. (a) For strip-shaped sites, CycleGAN shows relatively good boundary reproduction ability, with clear and continuous boundary lines in the output results and only slight overflow phenomena. For example, in Sample 307, the edges of the long strip site are complete, most of the color blocks are located within the boundary, and there are no gaps in the interior. (b) For curved sites, especially the complex contour structure of the “8” shape, the CycleGAN results, while maintaining the overall structural integrity, showed a certain degree of color overflow or blank areas locally, probably due to the limited adaptability of the model in dealing with curvature variations. For example, in Sample 177, blank areas were produced in the center of the site. In Sample 167, some of the color blocks extend beyond the boundaries. These areas create a significant visual discontinuity that affects the integrity of the design. These types of problems are usually corrected by subsequent manual optimization in terms of the refinement required for the construction drawings of the flower border design.
- Color accuracy: CycleGAN is able to ensure that the output color blocks are consistent or similar to the set RGB values in most cases, showing the high accuracy of the model in color reproduction. For example, the green plant block in Sample 397 has a high match with the preset RGB values. However, when encountering two color blocks that are close in color and exist side-by-side in the image, CycleGAN may generate transition blocks between the two, and in Sample 127, there is an extensive cyan transition zone between adjacent blue-green plant blocks, which leads to blurring of the boundaries. Nonetheless, in terms of the overall generated images, the model is only able to accurately learn and reproduce about half of the color norms in the dataset, leaving room for further improvement.
- Design diversity: CycleGAN has shown some consistency in capturing different site characteristics and design trends. Taking Samples 152 and 157 as an example, the model is able to output plant configurations that are not identical based on the differences in their profiles, despite the fact that these two samples have some similarity in volume and shape. This suggests that CycleGAN is able to capture differences in site characteristics and transform them into appropriate designs. However, in the face of structurally similar sites, the model still tends to generate overly similar solutions that lack sufficient innovation and individual expression, as shown in Samples 12 and 37, which almost present mirror-image design outputs.
3.5.2. Design Assessment
- Sample Selection
- 2.
- Evaluation Methods
- Quadrant I: High Importance—High Performance—Area of Advantage. Indicator performance generally meets expectations and will continue to be maintained in future developments, sustaining the advantage.
- Quadrant II: Low Importance—High Performance—Maintenance. Indicator performance is excellent and can be sustained.
- Quadrant III: Low Importance—Low Performance—Opportunity Zone. Indicator performance is average and can be improved to some degree, but it should not be prioritized too high.
- Quadrant IV: High Importance—Low Performance—Improvement Zone. Indicators are performing poorly and need to be prioritized for improvement.
- 3.
- Questionnaire results
4. Discussion
5. Conclusions
- Expand the dataset sample size. Due to the difficulty of obtaining samples and the limitations of the algorithm, this study ultimately used 123 samples in the experiment. To enhance model generation quality, the sample size should be expanded through various methods, such as online collection and field surveys.
- Incorporate the environment outside the flower border site. In this study, external environmental conditions were not retained in the dataset processing, so inputting sites with similar contours may result in similar flower border designs. Future research may include some external environmental information to improve the diversity and logical consistency of the generated results.
- Refine the dataset classification. Future research may consider establishing multiple datasets and adjusting the proportion of specific site types in the training set to develop generation models tailored to diverse application needs. Specifically, dataset classification could be based on site types and ecological types, enabling the development of generation models tailored to a variety of environments and requirements. Classification by site types could encompass different shapes and structures of sites to accommodate various planning and design goals. Classification by ecological types could involve creating datasets based on regional and environmental characteristics to meet specific ecological demands. Through such multidimensional classification, future studies could enhance the applicability and accuracy of generation models, catering to the practical needs of different scenarios and ecological contexts.
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Lincoln, F. RHS Garden Design Handbook; Royal Horticultural Society: London, UK, 2019. [Google Scholar]
- Wan, Z.; Shen, X.; Cai, Y.; Su, Y.; Ren, Z.; Xia, Y. How to Make Flower Borders Benefit Public Emotional Health in Urban Green Space: A Perspective of Color Characteristics. Forests 2024, 15, 1688. [Google Scholar] [CrossRef]
- Goodfellow, I.J.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative Adversarial Nets. Adv. Neural Inf. Process. Syst. 27 (Nips 2014) 2014, 27, 2672–2680. [Google Scholar]
- Zhao, J.; Cao, Y. Review of Artificial Intelligence Methods in Landscape Architecture. Chin. Landsc. Archit. 2020, 36, 82–87. [Google Scholar] [CrossRef]
- Chen, R.; Zhao, J.; Yao, X.Q.; Jiang, S.J.; He, Y.T.; Bao, B.; Luo, X.M.; Xu, S.H.; Wang, C.X. Generative Design of Outdoor Green Spaces Based on Generative Adversarial Networks. Buildings 2023, 13, 1083. [Google Scholar] [CrossRef]
- Zhang, F. Research on the Application of Traditional Culture in Modern Landscape Architecture Design under the Background of Artificial Intelligence. Appl. Math. Nonlinear Sci. 2024, 9. [Google Scholar] [CrossRef]
- Zhao, J.; Chen, R.; Hao, H.C.; Shao, Z. Application progress and prospect of machine learning technology in landscape architecture. J. Beijing For. Univ. 2021, 43, 137–156. [Google Scholar]
- Xu, T.; Zhang, P.C.; Huang, Q.Y.; Zhang, H.; Gan, Z.; Huang, X.L.; He, X.D. AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networks. In Proceedings of the 2018 IEEE/Cvf Conference on Computer Vision and Pattern Recognition (Cvpr), Salt Lake City, UT, USA, 8–22 June 2018; pp. 1316–1324. [Google Scholar] [CrossRef]
- Shen, J.; Liu, C.; Ren, Y.; Zheng, H. Machine Learning Assisted Urban Filling. In Proceedings of the 25th International Conference on Computer-Aided Architectural Design Research in Asia (CAADRIA), Bangkok, Thailand, 6 August 2020. [Google Scholar]
- Chaillou, S. AI & Architecture an Experimental Perspective; Harvard University: Cambridge, MA, USA, 2020. [Google Scholar]
- Nauata, N.; Hosseini, S.; Chang, K.H.; Chu, H.; Cheng, C.Y.; Furukawa, Y. House-GAN plus plus: Generative Adversarial Layout Refinement Network towards Intelligent Computational Agent for Professional Architects. In Proceedings of the 2021 IEEE/Cvf Conference on Computer Vision and Pattern Recognition, Cvpr, Nashville, TN, USA, 19–25 June 2021; pp. 13627–13636. [Google Scholar] [CrossRef]
- Aalaei, M.; Saadi, M.; Rahbar, M.; Ekhlassi, A. Architectural layout generation using a graph-constrained conditional Generative Adversarial Network (GAN). Autom. Constr. 2023, 155, 105053. [Google Scholar] [CrossRef]
- Pohlmann, K.; Tawil, N.; Brick, T.R.; Kühn, S. When houses wear faces: Reverse correlation applied to architectural design. J. Environ. Psychol. 2024, 98, 102401. [Google Scholar] [CrossRef]
- Zhao, C.W.; Yang, J.; Li, J.T. Generation of hospital emergency department layouts based on generative adversarial networks. J. Build. Eng. 2021, 43, 102539. [Google Scholar] [CrossRef]
- Qu, G.B.; Xue, B.Y. Generative Design Method of Landscape Functional Layout in Residential Areas Based on Conditional Generative Adversarial Nets. Low Temp. Archit. Technol. 2022, 44, 5–9+14. [Google Scholar] [CrossRef]
- Chen, M.F.; Zheng, H.; Wu, J. Computational Design of Multi-functional System Based on Generative Adversarial Networks—Taking the Layout Generation of Vocational and Technical College as an Example. Archit. J. 2022, 1, 103–108. [Google Scholar]
- Yenew, A.B.; Assefa, B.G.; Belay, E.G. HouseGanDi: A Hybrid Approach to Strike a Balance of Sampling Time and Diversity in Floorplan Generation. IEEE Access 2024, 12, 125235–125252. [Google Scholar] [CrossRef]
- Ali, A.K.; Lee, O.J. Facade Style Mixing Using Artificial Intelligence for Urban Infill. Architecture 2023, 3, 258–269. [Google Scholar] [CrossRef]
- Zhou, H.Y.; Liu, H.L. Artificial Intelligence Aided Design: Landscape Plan Recognition and Rendering Based on Deep Learning. Chin. Landsc. Archit. 2021, 37, 56–61. [Google Scholar] [CrossRef]
- Zhu, W.Y.; Li, P.B. Plant Landscape Layout Design of Urban Park Based on the Parametric Design Method—A Case Study of Shuixizhuang Park in Tianjin. Chin. Landsc. Archit. 2022, 38, 110–115. [Google Scholar] [CrossRef]
- Hollands, J.; Korjenic, A. Evaluation and Planning Decision on Façade Greening Made Easy—Integration in BIM and Implementation of an Automated Design Process. Sustainability 2021, 13, 413–426. [Google Scholar]
- Cui, S.X.; Zhang, Y.W.; Jia, J.; Wang, X.D. Analysis of AI-Enabled Floral Design Applications. Landsc. Archit. Acad. J. 2023, 40, 106–112. [Google Scholar]
- Lin, W.J. Feasibility Study on Application of Artificial Neural Network in Plant Arrangement. Master’s Thesis, South China University of Technology, Guangzhou, China, 2017. [Google Scholar]
- Le, Y.; Huang, S.Y. Prediction of Urban Trees Planting Base on Guided Cellular Automata to Enhance the Connection of Green Infrastructure. Land 2023, 12, 413–426. [Google Scholar] [CrossRef]
- Wu, R.; Huang, M.; Yang, Z.; Zhang, L.; Wang, L.; Huang, W.; Zhu, Y. Pix2Pix-Assisted Beijing Hutong Renovation Optimization Method: An Application to the UTCI and Thermal and Ventilation Performance. Buildings 2024, 14, 1957. [Google Scholar] [CrossRef]
- Zhou, Z.; Fu, C.; Weibel, R. SpaGAN: A spatially-aware generative adversarial network for building generalization in image maps. Int. J. Appl. Earth Obs. Geoinf. 2024, 135, 104236. [Google Scholar]
- Liu, Y.; Luo, Y.; Deng, Q.; Zhou, X. Exploration of Campus Layout Based on Generative Adversarial Network. In Proceedings of the 2020 DigitalFUTURES, Singapore, 3–4 July 2021; pp. 169–178. [Google Scholar]
- Sun, C.; Zhou, Y.R.; Han, Y.S. Automatic generation of architecture facade for historical urban renovation using generative adversarial network. Build. Environ. 2022, 212, 108781. [Google Scholar] [CrossRef]
- Liu, D.L.; Wang, K.Q. Research on the Generative Design of Architectural Form and Combination Based on Pix2Pix Algorithm. Build. Sci. 2022, 38, 260–267+286. [Google Scholar] [CrossRef]
- Isola, P.; Zhu, J.Y.; Zhou, T.H.; Efros, A.A. Image-to-Image Translation with Conditional Adversarial Networks. In Proceedings of the 30th Ieee Conference on Computer Vision and Pattern Recognition (Cvpr 2017), Honolulu, HI, USA, 21–26 July 2017; pp. 5967–5976. [Google Scholar] [CrossRef]
- Zhu, J.Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks. In Proceedings of the 2017 Ieee International Conference on Computer Vision (Iccv) 2017, Venice, Italy, 22–29 October 2017; pp. 2242–2251. [Google Scholar] [CrossRef]
- Wu, J.; Sun, Y.H.; Zhao, Z.Y.; Li, Y.N.; Li, J. Comprehensive Evaluation of Landscaoe Value of 50 Shrub Flower Border Applications Based on Analytic Hierarchy Process. J. Kashi Univ. 2023, 44, 41–46. [Google Scholar] [CrossRef]
- Peng, L.X.; Yang, Y.H.; Fang, Z.J.; Zeng, Z.Y.; Lu, Q.Y.; Tang, H.M.; Qin, Q.M. Evaluation and analysis of flower border plant resources in South China National Botanical Garden based on AHP. Contemp. Hortic. 2023, 46, 39–41. [Google Scholar] [CrossRef]
- Wang, Y.Y.; Zhang, Q.Y.; Li, J. The Review of Domestic Flower Border Research Based on CiteSpace. Landsc. Archit. Acad. J. 2023, 40, 109–115. [Google Scholar]
- Li, T. Research on the Comprehensive Benefit Evaluation System of Flower Landscape in Wuhu City Based on AHP Method. Contemp. Hortic. 2024, 47, 36–38. [Google Scholar] [CrossRef]
- Zhu, Q. Research on Image Perception of Traditional Landscape Areas Based on Network Text and IPA Analysis—Taking the Eighteen Stairs of Chongqing as an Example. In Proceedings of the 2022/2023 Annual National Planning Conference, Wuhan, China, 23–25 September 2023; p. 10. [Google Scholar]
- Wu, Y.Y.; Qin, S.Y.; Wu, J.; Zhang, Y.L.; Wang, M.X. Study on the Evaluation of Flower Border Landscape of Park Green Space in Shanghai Based on IPA Method. Landsc. Archit. Acad. J. 2023, 40, 113–121. [Google Scholar]
- Si, L.F.; Geng, X.M. Landscape Characteristics and Comprehensive Evaluation of Flower Borders in Beijing Based on AHP Method. J. Anhui Agric. Sci. 2023, 51, 103–107+111. [Google Scholar]
- Yang, Y.; Tang, X.L.; Liu, L.; Jia, Y.Y.; Luo, H. Plantscape Quality Evaluation Based on Principal Components Method and SBE Method—A Case Study of Six Universities Campuses in Nanjing. J. Northwest For. Univ. 2020, 35, 256–264. [Google Scholar]
- Liu, Y.B.; Fang, C.R.; Yang, Z.; Wang, X.X.; Zhou, Z.H.; Deng, Q.M.; Liang, L.Y. Exploration on Machine Learning Layout Generation of Chinese Private Garden in Southern Yangtze. In Proceedings of the 2021 Digitalfutures, Cdrf, Singapore, January 2021; pp. 35–44. [Google Scholar] [CrossRef]
Algorithm | Batch Size | λ | Epoch | Initial Learning Rate |
---|---|---|---|---|
Pix2Pix | 1 | 10 | 500 | 0.0002 |
CycleGAN | 1 | 10 | 500 | 0.0002 |
Experiment | Pix2pix | CycleGAN |
---|---|---|
1 | ||
2 |
Sample | Epoch 100 | Epoch 300 | Epoch 500 |
---|---|---|---|
2 | |||
22 | |||
317 |
Sample | Epoch 100 | Epoch 300 | Epoch 500 |
---|---|---|---|
37 | |||
47 | |||
357 |
Model | Sample 100 | Sample 327 | Sample 527 |
---|---|---|---|
Pix2pix | |||
CycleGAN | |||
Real design |
Authentic Design | Experimental Result | Boundary Correction and Color Separation | Simulation of Plant Patches | Vectorization Processing |
---|---|---|---|---|
Sample | Generated Image | Optimization Result | Modeling Picture |
---|---|---|---|
1 | |||
2 | |||
3 |
Level 1 Indicator | Level 2 Indicator | Details |
---|---|---|
Ornamental Character | Vertical Variation | Abundance of plants at the vertical level. |
Color Collocation | Flower and leaf combinations of different colors, rationality of color collocation. | |
Seasonal Variation | Seasonal beauty throughout the year. | |
Textural Harmony | The texture of the plants is well-used and harmonized. | |
Ecological Character | Plant Diversity | Diversity of plant types. |
Low Maintenance | Intensity of interspecific competition. | |
Ecological Niche Harmony | Harmonious color combinations of flower, leaf, and fruit colors in the borders. | |
Sustainability | Whether the maintenance effect of flower borders is long lasting or not. |
Indicator | Importance |
---|---|
Vertical Variation | 4.71 |
Color Collocation | 4.57 |
Seasonal Variation | 4.43 |
Textural Harmony | 4.57 |
Ornamental Character | 4.57 |
Plant Diversity | 4.00 |
Low Maintenance | 4.71 |
Ecological Niche Harmony | 4.43 |
Sustainability | 4.57 |
Ecological Character | 4.43 |
Indicator | Sample 1 | Sample 2 | Sample 3 | Average Satisfaction | Importance—Average Satisfaction |
---|---|---|---|---|---|
Vertical Variation | 4.00 | 3.86 | 2.86 | 3.57 | 1.14 |
Color Collocation | 3.86 | 4.29 | 4.14 | 4.10 | 0.47 |
Seasonal Variation | 3.86 | 4.00 | 3.43 | 3.76 | 0.67 |
Textural Harmony | 3.71 | 3.57 | 3.71 | 3.66 | 0.91 |
Ornamental Character | 3.86 | 3.93 | 3.54 | 3.78 | 0.79 |
Plant Diversity | 3.86 | 4.00 | 3.86 | 3.91 | 0.09 |
Low Maintenance | 3.86 | 3.00 | 3.57 | 3.48 | 1.23 |
Ecological Niche Harmony | 3.86 | 3.71 | 3.71 | 3.76 | 0.67 |
Sustainability | 3.86 | 3.29 | 3.43 | 3.53 | 1.04 |
Ecological Character | 3.86 | 3.5 | 3.64 | 3.67 | 0.76 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Feng, L.; Sun, Y.; Yu, C.; Chen, R.; Zhao, J. The Applicability of Two Generative Adversarial Networks to Generative Plantscape Design: A Comparative Study. Land 2025, 14, 746. https://doi.org/10.3390/land14040746
Feng L, Sun Y, Yu C, Chen R, Zhao J. The Applicability of Two Generative Adversarial Networks to Generative Plantscape Design: A Comparative Study. Land. 2025; 14(4):746. https://doi.org/10.3390/land14040746
Chicago/Turabian StyleFeng, Lu, Yuting Sun, Chenwen Yu, Ran Chen, and Jing Zhao. 2025. "The Applicability of Two Generative Adversarial Networks to Generative Plantscape Design: A Comparative Study" Land 14, no. 4: 746. https://doi.org/10.3390/land14040746
APA StyleFeng, L., Sun, Y., Yu, C., Chen, R., & Zhao, J. (2025). The Applicability of Two Generative Adversarial Networks to Generative Plantscape Design: A Comparative Study. Land, 14(4), 746. https://doi.org/10.3390/land14040746