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

GaussianBlur Class Template Reference

#include <GaussianBlur.h>

List of all members.

Public Methods

 GaussianBlur (IMAGE_T *image, int w, int h, int d, bool cuda=false)
 Creates GaussianBlur object from image with specified height, width, and depth. This allocates internal memory and copies the image. More...

 ~GaussianBlur ()
void blur (float sigma)
 Performs a GaussianBlur blur with the specified sigma. More...

IMAGE_T * get_image ()
 Returns a pointer the current blurred image. This pointer become invalid if blur is called again. More...

IMAGE_T * get_image_d ()

template<typename IMAGE_T>
class GaussianBlur< IMAGE_T >


Constructor & Destructor Documentation

template<typename IMAGE_T>
GaussianBlur< IMAGE_T >::GaussianBlur IMAGE_T *    image,
int    w,
int    h,
int    d,
bool    cuda = false
 

Creates GaussianBlur object from image with specified height, width, and depth. This allocates internal memory and copies the image.

Definition at line 34 of file GaussianBlur.C.

References alloc_cuda_array, copy_array_to_gpu, free_cuda_array, and NULL.

template<typename IMAGE_T>
GaussianBlur< IMAGE_T >::~GaussianBlur  
 

Definition at line 73 of file GaussianBlur.C.

References free_cuda_array.


Member Function Documentation

template<typename IMAGE_T>
void GaussianBlur< IMAGE_T >::blur float    sigma
 

Performs a GaussianBlur blur with the specified sigma.

Definition at line 167 of file GaussianBlur.C.

Referenced by VolumetricData::gaussian_blur, and ScaleSpaceFilter::merge.

template<typename IMAGE_T>
IMAGE_T * GaussianBlur< IMAGE_T >::get_image  
 

Returns a pointer the current blurred image. This pointer become invalid if blur is called again.

Definition at line 86 of file GaussianBlur.C.

References copy_array_from_gpu.

Referenced by VolumetricData::gaussian_blur.

template<typename IMAGE_T>
IMAGE_T * GaussianBlur< IMAGE_T >::get_image_d  
 

Definition at line 99 of file GaussianBlur.C.


The documentation for this class was generated from the following files:
Generated on Thu Dec 5 02:44:55 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002