Home
Name Modified Size InfoDownloads / Week
bart 2012-01-31
i3d-interface 2012-01-31
AUTHORS 2012-01-31 697 Bytes
opening.tgz 2012-01-31 37.4 kB
transpose_kernel.cuh 2012-01-31 447 Bytes
transpose_kernel_GRAY8.cu 2012-01-31 2.1 kB
reductions_kernel_GRAY8.cu 2012-01-31 820 Bytes
stack_struct.h 2012-01-31 241 Bytes
README 2012-01-31 1.8 kB
reductions_gold.cpp 2012-01-31 1.5 kB
reductions_gold.h 2012-01-31 368 Bytes
reductions_kernel.cuh 2012-01-31 390 Bytes
linearOpening_kernel_V_inclined_GRAY8.cu 2012-01-31 9.7 kB
linearOpening_main.cpp 2012-01-31 7.2 kB
main.cpp 2012-01-31 9.8 kB
Makefile 2012-01-31 2.0 kB
linearOpening_kernel_H_GRAY8.cu 2012-01-31 7.7 kB
linearOpening_kernel_H_inclined_GRAY8.cu 2012-01-31 18.8 kB
linearOpening_kernel_V_GRAY8.cu 2012-01-31 7.7 kB
linearOpening_kernel.cuh 2012-01-31 1.7 kB
linearOpening_kernel_AllH_GRAY8.cu 2012-01-31 5.1 kB
linearOpening_kernel_AllV_GRAY8.cu 2012-01-31 5.1 kB
LICENSE 2012-01-31 26.4 kB
linearOpening_gold.cpp 2012-01-31 8.8 kB
linearOpening_gold.h 2012-01-31 1.4 kB
linearOpening_kernel.cu 2012-01-31 53.5 kB
fifo_struct.h 2012-01-31 201 Bytes
image_types.h 2012-01-31 213 Bytes
imageIO.cpp 2012-01-31 3.2 kB
imageIO.h 2012-01-31 1.3 kB
Totals: 30 Items   215.6 kB 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