CUV  0.9.201304091348
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Functions
Nonlocal_means
special purpose functions
Collaboration diagram for Nonlocal_means:

Functions

void cuv::libs::nlmeans::setConvolutionKernel_horizontal (const cuv::tensor< float, host_memory_space > &src)
 fix a kernel for horizontal convolution in constant memory
void cuv::libs::nlmeans::setConvolutionKernel_vertical (const cuv::tensor< float, host_memory_space > &src)
 fix a kernel for vertical convolution in constant memory
void cuv::libs::nlmeans::setConvolutionKernel_depth (const cuv::tensor< float, host_memory_space > &src)
 fix a kernel for depth convolution in constant memory
void cuv::libs::nlmeans::convolutionRows (cuv::tensor< float, dev_memory_space > &d_Dst, const cuv::tensor< float, dev_memory_space > &d_Src, int kernel_radius)
 convolve along 1st axis of a 3D array
void cuv::libs::nlmeans::convolutionColumns (cuv::tensor< float, dev_memory_space > &d_Dst, const cuv::tensor< float, dev_memory_space > &d_Src, int kernel_radius)
 convolve along 2nd axis of a 3D array
void cuv::libs::nlmeans::convolutionDepth (cuv::tensor< float, dev_memory_space > &d_Dst, const cuv::tensor< float, dev_memory_space > &d_Src, int kernel_radius)
 convolve along 3rd axis of a 3D array
void cuv::libs::nlmeans::hessian (cuv::tensor< float, dev_memory_space > &d_output, const cuv::tensor< float, dev_memory_space > &d_gxx, const cuv::tensor< float, dev_memory_space > &d_gxy, const cuv::tensor< float, dev_memory_space > &d_gxz, const cuv::tensor< float, dev_memory_space > &d_gyy, const cuv::tensor< float, dev_memory_space > &d_gyz, const cuv::tensor< float, dev_memory_space > &d_gzz, float sigma)
 determine hessian magnitude of 3D array
void cuv::libs::nlmeans::hessian_orientation (cuv::tensor< float, dev_memory_space > &d_Output, cuv::tensor< float, dev_memory_space > &d_Output_theta, cuv::tensor< float, dev_memory_space > &d_Output_phi, const cuv::tensor< float, dev_memory_space > &d_gxx, const cuv::tensor< float, dev_memory_space > &d_gxy, const cuv::tensor< float, dev_memory_space > &d_gxz, const cuv::tensor< float, dev_memory_space > &d_gyy, const cuv::tensor< float, dev_memory_space > &d_gyz, const cuv::tensor< float, dev_memory_space > &d_gzz, float sigma)
 determine hessian orientation of 3D array

Detailed Description

Function Documentation

void cuv::libs::nlmeans::convolutionColumns ( cuv::tensor< float, dev_memory_space > &  d_Dst,
const cuv::tensor< float, dev_memory_space > &  d_Src,
int  kernel_radius 
)

convolve along 2nd axis of a 3D array

Parameters
d_Dstwhere to write results
d_Srcsource matrix
kernel_radiusradius of the kernel (kernel size = 2*r+1)
void cuv::libs::nlmeans::convolutionDepth ( cuv::tensor< float, dev_memory_space > &  d_Dst,
const cuv::tensor< float, dev_memory_space > &  d_Src,
int  kernel_radius 
)

convolve along 3rd axis of a 3D array

Parameters
d_Dstwhere to write results
d_Srcsource matrix
kernel_radiusradius of the kernel (kernel size = 2*r+1)
void cuv::libs::nlmeans::convolutionRows ( cuv::tensor< float, dev_memory_space > &  d_Dst,
const cuv::tensor< float, dev_memory_space > &  d_Src,
int  kernel_radius 
)

convolve along 1st axis of a 3D array

Parameters
d_Dstwhere to write results
d_Srcsource matrix
kernel_radiusradius of the kernel (kernel size = 2*r+1)
void cuv::libs::nlmeans::hessian ( cuv::tensor< float, dev_memory_space > &  d_output,
const cuv::tensor< float, dev_memory_space > &  d_gxx,
const cuv::tensor< float, dev_memory_space > &  d_gxy,
const cuv::tensor< float, dev_memory_space > &  d_gxz,
const cuv::tensor< float, dev_memory_space > &  d_gyy,
const cuv::tensor< float, dev_memory_space > &  d_gyz,
const cuv::tensor< float, dev_memory_space > &  d_gzz,
float  sigma 
)

determine hessian magnitude of 3D array

Warning
this is not well tested!
void cuv::libs::nlmeans::hessian_orientation ( cuv::tensor< float, dev_memory_space > &  d_Output,
cuv::tensor< float, dev_memory_space > &  d_Output_theta,
cuv::tensor< float, dev_memory_space > &  d_Output_phi,
const cuv::tensor< float, dev_memory_space > &  d_gxx,
const cuv::tensor< float, dev_memory_space > &  d_gxy,
const cuv::tensor< float, dev_memory_space > &  d_gxz,
const cuv::tensor< float, dev_memory_space > &  d_gyy,
const cuv::tensor< float, dev_memory_space > &  d_gyz,
const cuv::tensor< float, dev_memory_space > &  d_gzz,
float  sigma 
)

determine hessian orientation of 3D array

Warning
this is not well tested!
void cuv::libs::nlmeans::setConvolutionKernel_depth ( const cuv::tensor< float, host_memory_space > &  src)

fix a kernel for depth convolution in constant memory

Parameters
srcthe kernel to be loaded in constant memory
void cuv::libs::nlmeans::setConvolutionKernel_horizontal ( const cuv::tensor< float, host_memory_space > &  src)

fix a kernel for horizontal convolution in constant memory

Parameters
srcthe kernel to be loaded in constant memory
void cuv::libs::nlmeans::setConvolutionKernel_vertical ( const cuv::tensor< float, host_memory_space > &  src)

fix a kernel for vertical convolution in constant memory

Parameters
srcthe kernel to be loaded in constant memory