Kinetic Visualization (Visualisierung 2 - S2012)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
ProcessingUtilsCuda.h File Reference
#include <cuda_runtime.h>
#include <vector_types.h>

Go to the source code of this file.

Functions

int cudaConvolve3D (float *image, float *resultBuffer, int width, int height, int depth, float *kern, int kW, int kH, int kD)
int cudaGradient3D (float *image, float4 *resultBuffer, int width, int height, int depth)
int cudaCurvature3D (float4 *gradient, float4 *resultBuffer, int width, int height, int depth)

Function Documentation

int cudaConvolve3D ( float *  image,
float *  resultBuffer,
int  width,
int  height,
int  depth,
float *  kernel,
int  kW,
int  kH,
int  kD 
)
  Convolves the 3D volume with cuda
Parameters:
imageis the 3D volume
resultBufferis a buffer for the result
widthis the width of the volume
heightis the height of the volume
depthis the depth of the volume
kernelis the convolution-kernel
kWis the kernel width
kHis the kernel height
kDis the kernel depth
int cudaCurvature3D ( float4 *  gradient,
float4 *  resultBuffer,
int  width,
int  height,
int  depth 
)
  Calculates the curvature with cuda
Parameters:
gradientis the gradient image
resultBufferis the result buffer in which the result should be written
widthis the width of the volume
heightis the height of the volume
depthis the depth of the volume
int cudaGradient3D ( float *  image,
float4 *  resultBuffer,
int  width,
int  height,
int  depth 
)
  Calculates the gradient with cuda
Parameters:
imageis the volume-'image' whose gradient should be calculated
resultBufferis a buffer in which the gradient will be stored
widthis the width of the volume
heightis the height of the volume
depthis the depth of the volume