arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.22945cs.GRcs.CV
收藏

可控纹理平铺:基于变换RoPE增强扩散模型

Controllable Texture Tiling with Transformed RoPE-Enhanced Diffusion Models

City University of Hong Kong(香港城市大学);Manycore Tech Inc.(Manycore科技公司);Hong Kong University of Science and Technology(香港科学与技术大学)

Junrong Huang, Zhiyuan Zhang, Rui Tang, Hongbo Fu, Jing Liao

AI总结:

提出基于扩散变换器的可控纹理平铺框架,通过坐标变换旋转位置编码实现精确平铺控制,并利用分离注意力掩码保持参考纹理结构,同时与场景光照几何无缝融合。

摘要:

将用户指定的纹理真实地集成到场景图像中是计算机图形学和图像编辑中的基本任务。虽然现有的材质转移和参考引导修复方法可以编辑表面外观,但它们通常无法解决纹理平铺的具体要求。该任务需要根据用户定义的参数(如频率、方向和尺度)精确重复参考图案。此外,当前的生成方法通常难以保持参考纹理的结构保真度,受到破坏性像素级重采样或语义图像编码器中缺乏细粒度空间信息的限制,并且它们经常无法保持原始场景的连贯光照和几何。在本文中,我们提出了一种基于扩散变换器的可控且高保真纹理平铺新框架。我们的方法引入了两项关键技术革新,以将空间操作与内容生成解耦。首先,我们提出了一种坐标变换旋转位置嵌入机制。通过将2D仿射变换直接应用于目标潜变量与图像条件之间的相对位置嵌入,我们实现了对平铺图案的精确控制,而无需显式像素扭曲,从而充分利用参考条件的全部信息而不降级。其次,采用分离注意力掩码来保护参考特征免受语义泄漏。这保持了结构完整性,同时将合成纹理与场景的原始光照和几何无缝融合。大量实验表明,我们的方法在控制精度和纹理保真度方面均优于最先进的基线方法。

英文摘要:

Realistic integration of user-specified textures into scene images is a fundamental task in computer graphics and image editing. While existing material transfer and reference-guided inpainting methods can edit surface appearances, they often fail to address the specific requirements of texture tiling. This task necessitates precisely repeating a reference pattern according to user-defined parameters such as frequency, orientation, and scale. Furthermore, current generative approaches often struggle to maintain the structural fidelity of the reference texture, limited by either destructive pixel-level resampling or the lack of fine-grained spatial information in semantic image encoders, and they frequently fail to preserve the coherent lighting and geometry of the original scene. In this paper, we propose a novel framework for controllable and high-fidelity texture tiling based on Diffusion Transformers. Our approach introduces two key technical innovations to decouple spatial manipulation from content generation. First, we propose a Coordinate-Transformed Rotary Embedding mechanism. By applying 2D affine transformations directly to the relative positional embeddings between the target latent and the image condition, we achieve precise control over tiling patterns without explicit pixel warping, thereby utilizing the full information of the reference condition without degradation. Second, a Disjoint Attention Mask is employed to shield reference features from semantic leakage. This preserves structural integrity while seamlessly blending the synthesized texture with the scene's original lighting and geometry. Extensive experiments demonstrate that our method outperforms state-of-the-art baselines in both control accuracy and texture fidelity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑