gpufilter
GPU-Efficient Recursive Filtering and Summed-Area Tables
include/cpuground.h File Reference

CPU Groundtruth Recursive Filtering functions. More...

#include <cmath>
#include <defs.h>
#include <extension.h>

Go to the source code of this file.

Namespaces

namespace  gpufilter
 

Main namespace for the gpufilter library.


Functions

template<class T >
void gpufilter::extend_image (T *&ext_img, int &ext_w, int &ext_h, const T *img, const int &w, const int &h, const int &extb, const initcond &ic)
 Extend an image to consider initial condition outside.
template<class T >
void gpufilter::extract_image (T *img, const int &w, const int &h, T *&ext_img, const int &ext_w, const int &extb)
 Extract an image from an extended image.
template<class T >
void gpufilter::rcfr (T *inout, const int &w, const int &h, const T &b0, const T &a1, const bool &ff=false)
 Compute first-order recursive filtering on columns forward and reverse.
template<class T >
void gpufilter::rrfr (T *inout, const int &w, const int &h, const T &b0, const T &a1, const bool &ff=false)
 Compute first-order recursive filtering on rows forward and reverse.
template<class T >
void gpufilter::r (T *inout, const int &w, const int &h, const T &b0, const T &a1, const bool &ff=false, const int &extb=0, const initcond &ic=zero)
 Compute first-order recursive filtering.
template<class T >
void gpufilter::rcfr (T *inout, const int &w, const int &h, const T &b0, const T &a1, const T &a2, const bool &ff=false)
 Compute second-order recursive filtering on columns forward and reverse.
template<class T >
void gpufilter::rrfr (T *inout, const int &w, const int &h, const T &b0, const T &a1, const T &a2, const bool &ff=false)
 Compute second-order recursive filtering on rows forward and reverse.
template<class T >
void gpufilter::r (T *inout, const int &w, const int &h, const T &b0, const T &a1, const T &a2, const bool &ff=false, const int &extb=0, const initcond &ic=zero)
 Compute second-order recursive filtering.
template<class T >
void gpufilter::sat_cpu (T *in, const int &w, const int &h)
 Compute the Summed-area Table of an image in the CPU.
template<class T >
void gpufilter::gaussian_cpu (T **in, const int &w, const int &h, const int &depth, const T &s, const int &extb=1, const initcond &ic=clamp)
 Gaussian blur an image in the CPU.
template<class T >
void gpufilter::gaussian_cpu (T *in, const int &w, const int &h, const T &s, const int &extb=1, const initcond &ic=clamp)
 Gaussian blur a single-channel image in the CPU.
template<class T >
void gpufilter::bspline3i_cpu (T **in, const int &w, const int &h, const int &depth, const int &extb=1, const initcond &ic=mirror)
 Compute the Bicubic B-Spline interpolation of an image in the CPU.
template<class T >
void gpufilter::bspline3i_cpu (T *in, 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 CPU.

Detailed Description

CPU Groundtruth Recursive Filtering functions.

Author:
Diego Nehab
Andre Maximo
Date:
October, 2010