gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
|
GPU-Efficient Recursive Filtering and Summed-Area Tables definitions. More...
Go to the source code of this file.
Namespaces | |
namespace | gpufilter |
Main namespace for the gpufilter library. | |
Functions | |
template<class T > | |
T | gpufilter::qs (const T &s) |
Compute recursive filtering scaling factor. | |
template<class T > | |
std::complex< T > | gpufilter::ds (const std::complex< T > &d, const T &s) |
Rescale poles of the recursive filtering z-transform. | |
template<class T > | |
T | gpufilter::ds (const T &d, const T &s) |
Rescale poles in the real-axis of the recursive filtering z-transform. | |
template<class T1 , class T2 > | |
void | gpufilter::weights1 (const T1 &s, T2 &b0, T2 &a1) |
Compute first-order weights. | |
template<class T1 , class T2 > | |
void | gpufilter::weights2 (const T1 &s, T2 &b0, T2 &a1, T2 &a2) |
Compute first- and second-order weights. | |
void | gpufilter::prepare_algSAT (alg_setup &algs, dvector< float > &d_inout, dvector< float > &d_ybar, dvector< float > &d_vhat, dvector< float > &d_ysum, const float *h_in, const int &w, const int &h) |
Prepare for Algorithm SAT. | |
void | gpufilter::algSAT (dvector< float > &d_out, dvector< float > &d_ybar, dvector< float > &d_vhat, dvector< float > &d_ysum, const dvector< float > &d_in, const alg_setup &algs) |
Compute Algorithm SAT. | |
void | gpufilter::algSAT (dvector< float > &d_inout, dvector< float > &d_ybar, dvector< float > &d_vhat, dvector< float > &d_ysum, const alg_setup &algs) |
Compute Algorithm SAT. | |
void | gpufilter::algSAT (float *inout, const int &w, const int &h) |
Compute Algorithm SAT. | |
void | gpufilter::prepare_alg4 (alg_setup &algs, alg_setup &algs_transp, dvector< float > &d_out, dvector< float > &d_transp_out, dvector< float2 > &d_transp_pybar, dvector< float2 > &d_transp_ezhat, dvector< float2 > &d_pubar, dvector< float2 > &d_evhat, cudaArray *&a_in, const float *h_in, const int &w, const int &h, const float &b0, const float &a1, const float &a2, const int &extb=0, const initcond &ic=zero) |
Prepare for Algorithm 4. | |
void | gpufilter::alg4 (dvector< float > &d_out, dvector< float > &d_transp_out, dvector< float2 > &d_transp_pybar, dvector< float2 > &d_transp_ezhat, dvector< float2 > &d_pubar, dvector< float2 > &d_evhat, const cudaArray *a_in, const alg_setup &algs, const alg_setup &algs_transp) |
Compute Algorithm 4 (first-order) | |
void | gpufilter::alg4 (float *h_inout, const int &w, const int &h, const float &b0, const float &a1, const float &a2, const int &extb=0, const initcond &ic=zero) |
Compute Algorithm 4 (second-order) | |
void | gpufilter::prepare_alg5 (alg_setup &algs, dvector< float > &d_out, dvector< float > &d_transp_pybar, dvector< float > &d_transp_ezhat, dvector< float > &d_ptucheck, dvector< float > &d_etvtilde, cudaArray *&a_in, const float *h_in, const int &w, const int &h, const float &b0, const float &a1, const int &extb=0, const initcond &ic=zero) |
Prepare for Algorithm 5. | |
void | gpufilter::alg5 (dvector< float > &d_out, dvector< float > &d_transp_pybar, dvector< float > &d_transp_ezhat, dvector< float > &d_ptucheck, dvector< float > &d_etvtilde, const cudaArray *a_in, const alg_setup &algs) |
Compute Algorithm 5 (first-order) | |
void | gpufilter::alg5 (float *h_inout, const int &w, const int &h, const float &b0, const float &a1, const int &extb=0, const initcond &ic=zero) |
Compute Algorithm 5 (first-order) | |
void | gpufilter::gaussian_gpu (float **inout, const int &w, const int &h, const int &d, const float &s, const int &extb=1, const initcond &ic=clamp) |
Gaussian blur an image in the GPU. | |
void | gpufilter::gaussian_gpu (float *inout, const int &w, const int &h, const float &s, const int &extb=1, const initcond &ic=clamp) |
Gaussian blur a single-channel image in the GPU. | |
void | gpufilter::bspline3i_gpu (float **inout, const int &w, const int &h, const int &d, const int &extb=1, const initcond &ic=mirror) |
Compute the Bicubic B-Spline interpolation of an image in the GPU. | |
void | gpufilter::bspline3i_gpu (float *inout, const int &w, const int &h, const int &extb=1, const initcond &ic=mirror) |
Compute the Bicubic B-Spline interpolation of a single-channel image in the GPU. |
GPU-Efficient Recursive Filtering and Summed-Area Tables definitions.