Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CUDAGaussianBlur.h File Reference

CUDA kernels for Gaussian blur filtering of 3-D volumes. More...

Go to the source code of this file.

Functions

void gaussian3D_cuda (float *kernel, int kernel_size)
template<typename IMAGE_T> bool setup_cuda_filter (IMAGE_T *image, int w, int h, int d)
void copy_array_from_gpu (void *arr, void *arr_d, int bytes)
void copy_array_to_gpu (void *arr_d, void *arr, int bytes)
template<typename IMAGE_T> void gaussian1D_x_cuda (IMAGE_T *src_d, IMAGE_T *dst_d, int kernel_size, int width, int height, int depth)
template<typename IMAGE_T> void gaussian1D_y_cuda (IMAGE_T *src_d, IMAGE_T *dst_d, int kernel_size, int width, int height, int depth)
template<typename IMAGE_T> void gaussian1D_z_cuda (IMAGE_T *src_d, IMAGE_T *dst_d, int kernel_size, int width, int height, int depth)
void set_gaussian_1D_kernel_cuda (float *kernel, int kernel_size)
void * alloc_cuda_array (int bytes)
void free_cuda_array (void *arr)


Detailed Description

CUDA kernels for Gaussian blur filtering of 3-D volumes.

Primarily for use in the context of scale-space filtering used for 3-D image segmentation of Cryo-EM density maps.

Definition in file CUDAGaussianBlur.h.


Function Documentation

void* alloc_cuda_array int    bytes
 

Definition at line 118 of file CUDAGaussianBlur.cu.

Referenced by GaussianBlur::GaussianBlur.

void copy_array_from_gpu void *    arr,
void *    arr_d,
int    bytes
 

Definition at line 102 of file CUDAGaussianBlur.cu.

Referenced by GaussianBlur::get_image.

void copy_array_to_gpu void *    arr_d,
void *    arr,
int    bytes
 

Definition at line 112 of file CUDAGaussianBlur.cu.

Referenced by GaussianBlur::GaussianBlur.

void free_cuda_array void *    arr
 

Definition at line 126 of file CUDAGaussianBlur.cu.

Referenced by GaussianBlur::GaussianBlur, and GaussianBlur::~GaussianBlur.

template<typename IMAGE_T>
void gaussian1D_x_cuda IMAGE_T *    src_d,
IMAGE_T *    dst_d,
int    kernel_size,
int    width,
int    height,
int    depth
 

Definition at line 564 of file CUDAGaussianBlur.cu.

template<typename IMAGE_T>
void gaussian1D_y_cuda IMAGE_T *    src_d,
IMAGE_T *    dst_d,
int    kernel_size,
int    width,
int    height,
int    depth
 

Definition at line 637 of file CUDAGaussianBlur.cu.

template<typename IMAGE_T>
void gaussian1D_z_cuda IMAGE_T *    src_d,
IMAGE_T *    dst_d,
int    kernel_size,
int    width,
int    height,
int    depth
 

Definition at line 697 of file CUDAGaussianBlur.cu.

void gaussian3D_cuda float *    kernel,
int    kernel_size
 

void set_gaussian_1D_kernel_cuda float *    kernel,
int    kernel_size
 

Definition at line 131 of file CUDAGaussianBlur.cu.

template<typename IMAGE_T>
bool setup_cuda_filter IMAGE_T *    image,
int    w,
int    h,
int    d
 


Generated on Fri Nov 8 02:45:57 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002