项目作者: ydkn

项目描述 :
Parallel processing of image transformations. Part of the "Programmierkonzepte und Algorithmen" course at HTW-Berlin.
高级语言: C
项目地址: git://github.com/ydkn/htw-progko-cuda.git
创建时间: 2017-11-07T17:24:49Z
项目社区:https://github.com/ydkn/htw-progko-cuda

开源协议:GNU General Public License v3.0

下载


CUDA Image Transformations

Supports the following image transformations:

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

Installation

Run:

  1. $ make all

Usage

  1. $ dist/imgtrans-cuda <swap|gray|blur|emboss> <infile> <outfile> (<area>)
  2. $ dist/imgtrans-opencv <swap|gray> <infile> <outfile> (<area>)
  3. $ dist/imgtrans-plain <swap|gray> <infile> <outfile> (<area>)
  • is only used for blur mode.

Examples

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

Image Sources

License

The work is available as open source under the terms of the GPL 3.0 License.