Search papers, labs, and topics across Lattice.
This paper introduces Global Attention-Fused Image Cropping (GAFIC), a novel approach that enhances image cropping by integrating local and global contextual information through an Attention-Guided Feature Fusion (AGFF) and a Global-Aligned Crop Evaluator (GACE). By effectively aggregating local region importance and aligning crop features with a global representation, GAFIC achieves superior accuracy and stability in crop evaluation compared to existing methods. Extensive experiments on the GAIC and CPC datasets validate GAFIC's performance, particularly highlighting its advantages over traditional pixel-level retargeting techniques that alter pixel integrity.
GAFIC achieves unprecedented accuracy in image cropping by fusing local and global features, outperforming traditional methods that compromise pixel integrity.
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.