Skip to main content
Top
Published in: The Journal of Supercomputing 9/2015

01-09-2015

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

Authors: Ikjoon Kim, Jidong Zhai, Yan Li, Wenguang Chen

Published in: The Journal of Supercomputing | Issue 9/2015

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

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\times \) speedup over the original seam carving implementation on a single-GPU system. It also presents maximum \(103\times \) 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 \times 640\) 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.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Achanta R, Süsstrunk S (2009) Saliency detection for content-aware image resizing. In: ICIP, IEEE pp 1005–1008 Achanta R, Süsstrunk S (2009) Saliency detection for content-aware image resizing. In: ICIP, IEEE pp 1005–1008
3.
go back to reference Avidan S, Shamir A (2007) Seam carving for content-aware image resizing. ACM Trans Graph 26(3):10CrossRef Avidan S, Shamir A (2007) Seam carving for content-aware image resizing. ACM Trans Graph 26(3):10CrossRef
4.
go back to reference Cebrian JM, Guerrero GD (2012) Energy efficiency analysis of GPUs. In: Proc. High-Performance, Power-Aware Computing-3rd HPPAC’12, Proc. IEEE International Parallel and Distributed Processing Symposium Workshops & Ph.D. Forum (26th IPDPS’12), IEEE Computer Society, Shanghai, China, pp 1014–1022 Cebrian JM, Guerrero GD (2012) Energy efficiency analysis of GPUs. In: Proc. High-Performance, Power-Aware Computing-3rd HPPAC’12, Proc. IEEE International Parallel and Distributed Processing Symposium Workshops & Ph.D. Forum (26th IPDPS’12), IEEE Computer Society, Shanghai, China, pp 1014–1022
5.
go back to reference Chen LQ, Xie X (2003) A visual attention model for adapting images on small displays. Multimed Syst 9(4):353–364CrossRef Chen LQ, Xie X (2003) A visual attention model for adapting images on small displays. Multimed Syst 9(4):353–364CrossRef
6.
go back to reference Ciocca G, Cusano C (2007) Self-adaptive image cropping for small displays. IEEE Trans Consum Electron 53(4):1622–1627CrossRef Ciocca G, Cusano C (2007) Self-adaptive image cropping for small displays. IEEE Trans Consum Electron 53(4):1622–1627CrossRef
7.
go back to reference Duarte R, Sendag R (2012) Accelerating and characterizing seam carving using a heterogeneous cpu-gpu system. PDPTA Duarte R, Sendag R (2012) Accelerating and characterizing seam carving using a heterogeneous cpu-gpu system. PDPTA
8.
go back to reference Harris M (2007) Optimizing parallel reduction in cuda (2007). CUDA SDK Whitepaper Harris M (2007) Optimizing parallel reduction in cuda (2007). CUDA SDK Whitepaper
9.
go back to reference Hong S, Kim SK (2011) Accelerating CUDA graph algorithms at maximum warp. In: Proceedings of the 16th ACM/SIGPLAN Symposium on Principles and Practice of Parallel Programming (16th PPOPP’11), ACM Press, San Antonio, TX, USA, pp 267–276 Hong S, Kim SK (2011) Accelerating CUDA graph algorithms at maximum warp. In: Proceedings of the 16th ACM/SIGPLAN Symposium on Principles and Practice of Parallel Programming (16th PPOPP’11), ACM Press, San Antonio, TX, USA, pp 267–276
10.
go back to reference Lee VW, Kim C (2010) Debunking the 100X GPU vs. CPU myth: an evaluation of throughput computing on CPU and GPU. In: Proc. 37th International Symposium on Computer Architecture (37th ISCA’10), ACM SIGARCH, Saint-Malo, France pp 451–460 Lee VW, Kim C (2010) Debunking the 100X GPU vs. CPU myth: an evaluation of throughput computing on CPU and GPU. In: Proc. 37th International Symposium on Computer Architecture (37th ISCA’10), ACM SIGARCH, Saint-Malo, France pp 451–460
11.
go back to reference Mansfield A, Gehler P (2012) Visibility maps for improving seam carving. In: Proceedings of the 11th European Conference on Trends and Topics in Computer Vision-Volume Part II, ECCV’10, Springer, Berlin, Heidelberg, pp 131–144 Mansfield A, Gehler P (2012) Visibility maps for improving seam carving. In: Proceedings of the 11th European Conference on Trends and Topics in Computer Vision-Volume Part II, ECCV’10, Springer, Berlin, Heidelberg, pp 131–144
13.
go back to reference Pritch (2009) Shift-map image editing. In: Computer Vision, 2009 IEEE 12th International Conference on, IEEE, pp 151–158 Pritch (2009) Shift-map image editing. In: Computer Vision, 2009 IEEE 12th International Conference on, IEEE, pp 151–158
14.
go back to reference Santella A, Agrawala M (2006) Gaze-based interaction for semi-automatic photo cropping. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, CHI ’06, ACM, New York, NY, USA, pp 771–780 Santella A, Agrawala M (2006) Gaze-based interaction for semi-automatic photo cropping. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, CHI ’06, ACM, New York, NY, USA, pp 771–780
16.
go back to reference Suh B, Ling H (2003) Automatic thumbnail cropping and its effectiveness. In: UIST, ACM pp 95–104 Suh B, Ling H (2003) Automatic thumbnail cropping and its effectiveness. In: UIST, ACM pp 95–104
17.
go back to reference Thilagam K, Karthikeyan S (2011) An efficient method for content aware image resizing using psc. Int J Comput Technol Appl 2(4) 807–812 Thilagam K, Karthikeyan S (2011) An efficient method for content aware image resizing using psc. Int J Comput Technol Appl 2(4) 807–812
18.
go back to reference Thilagam K, Karthikeyan S (2012) Article: optimized image resizing using piecewise seam carving. Int J Comput Appl 42(14):24–30 Published by Foundation of Computer Science, New York, USA Thilagam K, Karthikeyan S (2012) Article: optimized image resizing using piecewise seam carving. Int J Comput Appl 42(14):24–30 Published by Foundation of Computer Science, New York, USA
19.
go back to reference Zhai J, Chen W, Zheng W (2010) Phantom: predicting performance of parallel applications on large-scale parallel machines using a single node. ACM SIGPLAN Not 45(5):305–314 Zhai J, Chen W, Zheng W (2010) Phantom: predicting performance of parallel applications on large-scale parallel machines using a single node. ACM SIGPLAN Not 45(5):305–314
Metadata
Title
Optimizing seam carving on multi-GPU systems for real-time content-aware image resizing
Authors
Ikjoon Kim
Jidong Zhai
Yan Li
Wenguang Chen
Publication date
01-09-2015
Publisher
Springer US
Published in
The Journal of Supercomputing / Issue 9/2015
Print ISSN: 0920-8542
Electronic ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-015-1446-4

Other articles of this Issue 9/2015

The Journal of Supercomputing 9/2015 Go to the issue

Premium Partner