Computer graphics, comprising both raster and vector components, is a fundamental part of modern science, industry, and digital communication. While raster graphics offer ease of use, its pixel-based structure limits scalability. Vector graphics, defined by mathematical primitives, provides scalability without quality loss, however, it is more complex to produce. For design and architecture, the versatility of vector graphics is paramount, despite its computational demands. This paper introduces a novel method for generating vector residential plans from textual descriptions. Our approach surpasses existing solutions by approximately 5% in CLIPScore-based visual quality, benefiting from its inherent handling of right angles and flexible settings. Additionally, we present a new algorithm for vectorizing raster plans into structured vector images. Such images have a better CLIPscore compared to others by about 4%.
翻译:计算机图形学作为现代科学、工业与数字通信的基础领域,包含栅格与矢量两大组成部分。尽管栅格图形易于使用,但其基于像素的结构限制了可扩展性。矢量图形由数学图元定义,可在不损失质量的前提下实现缩放,但其生成过程更为复杂。在设计与建筑领域,尽管矢量图形对计算资源要求较高,其多功能性仍至关重要。本文提出了一种从文本描述生成矢量住宅平面图的新方法。得益于对直角的内置处理与灵活的参数设置,本方法在基于CLIPScore的视觉质量评估中较现有方案提升约5%。此外,我们提出了一种将栅格平面图矢量化并生成结构化矢量图像的新算法。该算法生成的矢量图像在CLIPScore指标上较其他方法提升约4%。