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

被引:0
作者
Ikjoon Kim
Jidong Zhai
Yan Li
Wenguang Chen
机构
[1] Tsinghua University,Department of Computer Science and Technology
[2] Yangtze Delta Region Institute of Tsinghua University,Technology Innovation Center at Yinzhou
来源
The Journal of Supercomputing | 2015年 / 71卷
关键词
Content-aware image resizing; Seam carving; GPGPU ; CUDA; Heterogeneous system;
D O I
暂无
中图分类号
学科分类号
摘要
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 10×\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$10\times $$\end{document} speedup over the original seam carving implementation on a single-GPU system. It also presents maximum 103×\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$103\times $$\end{document} 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 1024×640\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$1024 \times 640$$\end{document} 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
页数:24
相关论文
共 8 条
[1]  
Avidan S(2007)Seam carving for content-aware image resizing ACM Trans Graph 26 10-364
[2]  
Shamir A(2003)A visual attention model for adapting images on small displays Multimed Syst 9 353-1627
[3]  
Chen LQ(2007)Self-adaptive image cropping for small displays IEEE Trans Consum Electron 53 1622-30
[4]  
Xie X(2012)Article: optimized image resizing using piecewise seam carving Int J Comput Appl 42 24-undefined
[5]  
Ciocca G(undefined)undefined undefined undefined undefined-undefined
[6]  
Cusano C(undefined)undefined undefined undefined undefined-undefined
[7]  
Thilagam K(undefined)undefined undefined undefined undefined-undefined
[8]  
Karthikeyan S(undefined)undefined undefined undefined undefined-undefined