Prune and Repaint: Content-Aware Image Retargeting for any Ratio
Feihong Shen, Chao Li, Yifeng Geng, Yongjian Deng, Hao Chen
Abstract
Image retargeting is the task of adjusting the aspect ratio of images to suit different display devices or presentation environments. However, existing retargeting methods often struggle to balance the preservation of key semantics and image quality, resulting in either deformation or loss of important objects, or the introduction of local artifacts such as discontinuous pixels and inconsistent regenerated content. To address these issues, we propose a content-aware retargeting method called PruneRepaint. It incorporates semantic importance for each pixel to guide the identification of regions that need to be pruned or preserved in order to maintain key semantics. Additionally, we introduce an adaptive repainting module that selects image regions for repainting based on the distribution of pruned pixels and the proportion between foreground size and target aspect ratio, thus achieving local smoothness after pruning. By focusing on the content and structure of the foreground, our PruneRepaint approach adaptively avoids key content loss and deformation, while effectively mitigating artifacts with local repainting. We conduct experiments on the public RetargetMe benchmark and demonstrate through objective experimental results and subjective user studies that our method outperforms previous approaches in terms of preserving semantics and aesthetics, as well as better generalization across diverse aspect ratios. Codes will be available at https://github.com/fhshen2022/PruneRepaint.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
- High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
- Adding Conditional Control to Text-to-Image Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Adding Conditional Control to Text-to-Image Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
- AIR-DR: Adaptive Image Retargeting with Instance Relocation and Dual-guidance Repainting cites High-Resolution Image Synthesis with Latent Diffusion Models
Cited by top-tier papers1
Builds on11
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
Related papers
- Image Retargeting based on Text Region AwarenessGang Pan, Meihua Liu, Lei Zhou, Jiahao Wang et al.ACM MM 2025
- AFFIR: Dual-Modal Attention Feature Fusion for Scene Text Image RetargetingGang Pan, Liming Pan, Hongze Mi, Rongyu Xiong et al.ACM MM 2025
- Skinned Motion Retargeting with Spatially Adaptive Interaction GuidanceSoojin Choi, Seokhyeon Hong, Chaelin Kim, Junghyun Nam et al.SIGGRAPH 2026
- Progressive Artwork Outpainting Via Latent Diffusion ModelsDae-Young Song, Jung-Jae Yu, Donghyeon ChoICCV 2025 · 2 citations
- Dissect and Prune: Enhancing Robustness in AI-Generated Image DetectionDahye Kim, Jaehyun Choi, Hyun Seok Seong, Seongho Kim et al.ICML 2026
