Home / bart
Name Modified Size InfoDownloads / Week
Parent folder
inc 2012-01-31
src 2012-01-31
Totals: 2 Items   0
CUDA-BASED LINEAR OPENINGS
--------------------------
Last update: 31/01/2012


1. REQUIREMENTS & DEPENDENCIES
------------------------------
   a. CUDA-capable GPU
   b. CUDA driver [1]
   c. CUDA Toolkit [1]
   d. CUDA SDK [1]
   e. Image processing library, e.g. Magick++ [2] or i3dcore [3]
   
   App tested with CUDA Toolkit & SDK 3.2 and 4.0 [1].


2. MOST IMPORTANT FILES
-----------------------
   a. main.cpp: example application
	
   b. linearOpening_gold.h: C functions for linear openings
   d. linearOpening_kernel.cuh: CUDA functions for linear openings
   f. imageIO.h: functions for image I/O manipulation
	
   g. Makefile: makefile for Unix-like systems
   h. README, AUTHORS, LICENSE


3. BUILDING THE EXECUTABLE
--------------------------
   a. Configure paths in Makefile
   b. Configure CUDA compute capability in Makefile
   c. Choose an image processing library and modify (if necessary) the following files:
		Makefile, imageIO.h, imageIO.cpp
		Default library used is Magick++.
   d. Type "make"


4. RUNNING THE EXAMPLE PROGRAM
------------------------------
opening -in=PATH -out=PATH -size=S [-A] [-from] [-to] [-step] [-S] [-angle=A] [-device=N] [-repeat=R]
	-in = path to input image
	-out = path to output files (without extension)
	-size = size of SE
	-A = process all angles in range (from:step:to) (available for 2D images only)
	-S = output sum of individual angle response (only with -A)
	-angle = angle of SE
	-device = select GPU device
	-repeat = number of executions
   

5. LINKS
--------
   [1] http://developer.nvidia.com/cuda-downloads
   [2] http://www.imagemagick.org/Magick++/
   [3] http://cbia.fi.muni.cz/projects/the-cbia-i3dcore-and-i3dalgo-libraries.html
   
Source: README, updated 2012-01-31