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.
- Host: GitHub
- URL: https://github.com/ydkn/htw-progko-cuda
- Owner: ydkn
- License: gpl-3.0
- Created: 2017-11-07T17:24:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T22:32:51.000Z (over 8 years ago)
- Last Synced: 2025-01-11T14:47:55.400Z (over 1 year ago)
- Topics: cuda, image-transformations, opencv
- Language: C
- Homepage:
- Size: 5.51 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).