An open API service indexing awesome lists of open source software.

https://github.com/ydkn/htw-progko-cuda

Parallel processing of image transformations. Part of the "Programmierkonzepte und Algorithmen" course at HTW-Berlin.
https://github.com/ydkn/htw-progko-cuda

cuda image-transformations opencv

Last synced: 2 months ago
JSON representation

Parallel processing of image transformations. Part of the "Programmierkonzepte und Algorithmen" course at HTW-Berlin.

Awesome Lists containing this project

README

          

# CUDA Image Transformations

Supports the following image transformations:

* Swap green and blue colors
* Transform image to grayscale
* Blur image
* Generate Emboss

## Installation

Run:

$ make all

## Usage

$ dist/imgtrans-cuda ()
$ dist/imgtrans-opencv ()
$ dist/imgtrans-plain ()

* <area> is only used for blur mode.

### Examples

$ dist/imgtrans-opencv swap examples/dice.png swapped_dice.png
$ dist/imgtrans-cuda gray examples/Periodic_table_large.png gray_periodic_table.png

### Image Sources

* tricoloring.png: https://commons.wikimedia.org/wiki/File:Tricoloring.png
* dice.png: https://commons.wikimedia.org/wiki/File:PNG_transparency_demonstration_1.png
* periodic_table.png: https://commons.wikimedia.org/wiki/File:Periodic_table_large.png

## License

The work is available as open source under the terms of the [GPL 3.0 License](https://opensource.org/licenses/GPL-3.0).