IADIS International Journal on Computer Science and Information Systems

Published by IADIS (International Association for Development of the Information Society) • ISSN (Online): 1646-3692 • ISSN (Print): 1646-3692
100% Open Access
Double-Blind Peer Review
Crossref DOI Persistent IDs
Open Access Peer-Reviewed Original Research

Pygpu: a High-level Language for High- Speed Image Processing

Calle Lejdfors Department of Computer Science *
Lund University *
PO Box *
Lund *
Sweden Researcher *
* Lennart Ohlsson Department of Computer Science, Lund University, PO Box 118, 221 00 Lund, Sweden (Portugal)
* Lennart Ohlsson Department of Computer Science, Lund University, PO Box 118, 221 00 Lund, Sweden (Portugal)
* Lennart Ohlsson Department of Computer Science, Lund University, PO Box 118, 221 00 Lund, Sweden (Portugal)
* Lennart Ohlsson Department of Computer Science, Lund University, PO Box 118, 221 00 Lund, Sweden (Portugal)
* Lennart Ohlsson Department of Computer Science, Lund University, PO Box 118, 221 00 Lund, Sweden (Portugal)

Abstract

Image processing is an area with many computat ionally demanding algorithms. When implementing an algorithm the programmer has to make the choice of either using a high-level language, thereby gaining rapid development at the expense of run-time pe rformance. Or, using a lower level language, having higher run-time performance but also a higher implementation cost. In th is paper we present PyGPU, an embedded language that enables image processing al gorithms to be written in the high-level, object- oriented language Python. PyGPU functions are comp iled to execute on the graphics processing unit (GPU) present on modern graphics cards, a streaming processor capable of speeds more than a magnitude higher than those of current generation CPUs. We demonstrate a number of common image processing algorithms, showing how th ese can be implemented succinctly and clearly using high-level abstractions, while at the same time achieving performance close to theoretical peak figures.

Keywords

Graphics processing units image processing high-level languages
Full-Text PDF Available

Read Complete Peer-Reviewed Manuscript

Includes full econometric models, data tables, policy recommendations, declarations, and citations.

Declarations & Ethics

Funding: This research received academic dissemination support through ESCAP / JournalsHub publishing programs.
Conflicts of Interest: The authors declare no competing financial or institutional interests.
Peer Review: Double-blind peer reviewed by international subject specialists.
License: Creative Commons Attribution 4.0 International (CC BY 4.0).
How to Cite This Article
APA / MLA / BibTeX
Science, et al. (2007). Pygpu: a High-level Language for High- Speed Image Processing. IADIS International Journal on Computer Science and Information Systems, 2(1). https://doi.org/10.33965/ijcsis_2007_v2i1_06
Science, et al. "Pygpu: a High-level Language for High- Speed Image Processing." IADIS International Journal on Computer Science and Information Systems, vol. 2, no. 1, 2007. https://doi.org/10.33965/ijcsis_2007_v2i1_06
Science, et al. "Pygpu: a High-level Language for High- Speed Image Processing." IADIS International Journal on Computer Science and Information Systems 2, no. 1 (2007). https://doi.org/10.33965/ijcsis_2007_v2i1_06