Rok Češnovar (2010) *Seam Carving on graphics processing units with CUDA architecture*. EngD thesis.

PDF Download (2629Kb) |

## Abstract

The purpose of this thesis is to present the computational performances of graphical processing units with CUDA (Compute Unified Device Architecture) architecture on the Seam Carving algorithm. We want to show if implementing this algorithm on graphical processing units (GPUs) is effective. We also want to show some ways of optimizing the algorithm,the results of doing so, and what are the performance differences if we change the complexity of a part of the algorithm. Seam Carving algorithm is a content-aware image resizing algorithm. With this algorithm, resizing is done with removing the optimal seam. An optimal seam is path through the picture that carries the least information. We determine that the success of this algorithm depends on a lot of factors: the number of objects in the picture, the size of monotonous background and the energy function. CUDA is an open parallel architecture, developed in the year 2007 by the nVIDIA corporation. Besides their main function, which is the display of graphics, GPUs that support CUDA, can also be used for general purpose computation. The biggest advantage of running an algorithm on a CUDA GPU is the use of the massive parallelism. If an algorithm can be made parallel, the use of GPUs significantly improves the performance and reduces the load of the central processing units (CPUs): We determine that implementing the Seam Carving algorithm on GPUs is effective from certain picture sizes on. The latter is true for both increasing and reducing the size of the picture. But the rate of the speed-up is not the same in both cases. We also determine that in order to optimize the performance of this algorithm we need to do the following: use the shared memory with caching and determine the optimal block size. With the use of shared memory we can access our data faster. Beside that it also enables us to remove a significant amount of branches

Item Type: | Thesis (EngD thesis) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|

Keywords: | general purpose computation on GPU, CUDA, Seam Carving algorithm | |||||||||

Number of Pages: | 42 | |||||||||

Language of Content: | Slovenian | |||||||||

Mentor / Comentors: |
| |||||||||

Link to COBISS: | http://www.cobiss.si/scripts/cobiss?command=search&base=50070&select=(ID=8134484) | |||||||||

Institution: | University of Ljubljana | |||||||||

Department: | Faculty of Computer and Information Science | |||||||||

Item ID: | 1254 | |||||||||

Date Deposited: | 30 Dec 2010 12:14 | |||||||||

Last Modified: | 13 Aug 2011 00:38 | |||||||||

URI: | http://eprints.fri.uni-lj.si/id/eprint/1254 |

### Actions (login required)

View Item |