Document Type : Original Research Paper
Authors
1 Department of Computer Engineering, SR.C., Islamic Azad University, Tehran, Iran.
2 Department of Computer Engineering, Ka.C., Islamic Azad University, Karaj, Iran.
Abstract
Background and Objectives: Content-aware image resizing via seam carving aims to adapt image dimensions while preserving salient and structurally important regions. Despite substantial progress, existing approaches still exhibit important limitations: deep learning–based methods typically learn saliency-oriented energy maps without explicitly enforcing structural continuity, whereas optimization-based seam selection strategies rely on handcrafted or shallow representations that lack semantic awareness. This mismatch may result in geometric distortions, such as structure bending or discontinuities, particularly in images with complex layouts. To address this issue, this study proposes a hybrid seam carving framework that integrates attention-based energy estimation with optimization-driven seam selection.
Methods: The proposed framework integrates an attention-enhanced deep convolutional encoder–decoder network with a genetic algorithm for seam optimization. The encoder–decoder network generates a structure-aware energy map by jointly modeling spatial, channel, and directional information, enabling a more explicit representation of geometrically coherent regions. Based on this learned representation, the genetic algorithm performs keypoint-constrained seam path optimization, discouraging seam trajectories that intersect structurally critical areas and improving seam continuity. The proposed method is evaluated on three benchmark datasets—UCID, BOSSBase, and BOWS-2—under horizontal, vertical, and mixed seam-removal settings using standard image-quality and saliency-preservation metrics.
Results: Under the horizontal-retargeting baseline-comparison protocol, the proposed method achieves the highest SSIM among the evaluated methods. Compared with the strongest baseline on each dataset, the proposed method improves SSIM by 0.2–1.2 percentage points, PSNR by 0.1–0.9 dB, and saliency preservation by 0.2–0.3 percentage points. A resolution-stratified evaluation from 256×256 to 1024×1024 further shows limited across-resolution variation, with maximum observed ranges of 0.6 percentage points in SSIM, 0.6 dB in PSNR, and 0.8 percentage points in saliency preservation across the evaluated datasets.
Conclusion: Although the incorporation of genetic optimization introduces additional computational cost, the results indicate that combining attention-based energy estimation with optimization-driven seam selection improves structural consistency under the evaluated resizing settings. These findings suggest that the proposed hybrid framework can provide a more reliable balance between saliency preservation, structural continuity, and seam-path optimization in content-aware image retargeting.
Keywords
- Deep Neural Networks
- Convolutional Encoder-Decoder Neural Network
- Seam Carving, Metaheuristic Algorithm
Main Subjects
Send comment about this article