提出全局注意力融合的图像裁剪方法,提升整体构图美感判断能力。
Global Attention-Fused Image Cropping with Attention-Guided and Global-Aligned Crop Evaluator

- 通过注意力引导特征融合构建全局图像表征
- 多尺度排序损失使裁剪评分更准确稳定
- 保持原始像素完整,适合需快速批量处理场景
图像裁剪旨在通过保留重要内容并形成良好构图来提升图像美感。现有方法多关注显著区域,对主要图像元素间的全局关系敏感度不足。为此,本文提出全局注意力融合图像裁剪(GAFIC),包含注意力引导特征融合(AGFF)与全局对齐裁剪评估器(GACE)。AGFF聚合局部区域重要性,构建同时包含图像结构与细节的全局表征;GACE将候选裁剪特征与该全局表征对齐,使裁剪评估对边界变化保持敏感。进一步在多尺度上结合三种排序损失,获得精确稳定的裁剪评分。在GAIC和CPC数据集上的大量实验表明,GAFIC优于现有裁剪方法,尤其在准确性和稳定性方面表现突出。与基于缝合、修补或扩散生成的像素级重定域方法不同,GAFIC不合成或修改保留像素,而是从源图像中选取美学优选裁剪区域,适用于需保持像素完整性及高效批量处理的场景。代码已开源:https://github.com/AIVRC/GAFIC.git。
原文摘要 · Abstract (English)
Image cropping aims to improve image aesthetics by preserving important content within an appropriately composed region. However, most existing methods focus primarily on salient regions and therefore have limited sensitivity to the global relationships among the main image components. To address this limitation, we propose Global Attention-Fused Image Cropping (GAFIC), which consists of an Attention-Guided Feature Fusion (AGFF) and a Global-Aligned Crop Evaluator (GACE). AGFF aggregates the importance of local regions to construct a global representation that captures both image structure and local details. GACE aligns candidate crop features with this global representation, enabling crop evaluation to remain sensitive to boundary changes. We further combine three ranking losses across multiple scales to obtain accurate and stable crop scores. Extensive experiments on the GAIC and CPC datasets demonstrate that GAFIC outperforms existing image-cropping methods, particularly in terms of accuracy and stability. Unlike pixel-level retargeting methods such as seam carving, inpainting, and diffusion-based synthesis, GAFIC does not synthesize or modify the retained pixels; instead, it selects an aesthetically preferred crop from the source image, making it suitable for scenarios where pixel integrity and efficient batch processing are important. The source code is available at https://github.com/AIVRC/GAFIC.git.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。