Optimizing seam carving on multi-GPU systems for real-time content-aware image resizing

被引:5
作者
Kim, Ikjoon [1 ]
Zhai, Jidong [1 ]
Li, Yan [1 ]
Chen, Wenguang [1 ,2 ]
机构
[1] Tsinghua Univ, Dept Comp Sci & Technol, Beijing 100084, Peoples R China
[2] Tsinghua Univ, Technol Innovat Ctr Yinzhou, Yangtze Delta Reg Inst, Haidian, Zhejiang, Peoples R China
关键词
Content-aware image resizing; Seam carving; GPGPU; CUDA; Heterogeneous system;
D O I
10.1007/s11227-015-1446-4
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Image resizing is increasingly important for picture sharing and exchanging between various personal electronic equipments. Seam Carving is a state-of-the-art approach for effective image resizing because of its content-aware characteristic. However, complex computation and memory access patterns make it time consuming and prevent its wide usage in real-time image processing. To address these problems, we propose a novel algorithm, called Non-Cumulative Seam Carving (NCSC), which removes main computation bottleneck. Furthermore, we also propose Partial update of Index Map (PIM) algorithm to reduce computation amount. Finally, we implement our algorithm on a multi-GPU platform. Results show that our approach achieves maximum speedup over the original seam carving implementation on a single-GPU system. It also presents maximum speedup on a two-GPU system over the single-thread CPU implementation of original seam carving algorithm. NCSC only takes 0.10 s to reduce a image to 70 % in width on a two-GPU platform compared to 11 s with the traditional seam carving on a single-thread CPU system.
引用
收藏
页码:3500 / 3524
页数:25
相关论文
共 19 条
[1]   SALIENCY DETECTION FOR CONTENT-AWARE IMAGE RESIZING [J].
Achanta, Radhakrishna ;
Suesstrunk, Sabine .
2009 16TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, VOLS 1-6, 2009, :1005-1008
[2]  
[Anonymous], PDPTA
[3]  
[Anonymous], 2014, NVIDIA CUDA C Programming Guide
[4]  
[Anonymous], INT J COMPUT TECHNOL
[5]  
[Anonymous], 2007, Optimizing parallel reduction in CUDA
[6]  
[Anonymous], P ECCV
[7]  
ARM, 2013, MAL OPENCL SDK V1 1
[8]   Seam carving for content-aware image resizing [J].
Avidan, Shai ;
Shamir, Ariel .
ACM TRANSACTIONS ON GRAPHICS, 2007, 26 (03)
[9]   Energy Efficiency Analysis of GPUs [J].
Cebrian, Juan M. ;
Guerrero, Gines D. ;
Garcia, Jose M. .
2012 IEEE 26TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS & PHD FORUM (IPDPSW), 2012, :1014-1022
[10]   A visual attention model for adapting images on small displays [J].
Chen, LQ ;
Xie, X ;
Fan, X ;
Ma, WY ;
Zhang, HJ ;
Zhou, HQ .
MULTIMEDIA SYSTEMS, 2003, 9 (04) :353-364