CudaPyramidOps.H File Reference

#include "CUDA/CudaImageSet.H"
#include "CUDA/CudaImage.H"
#include "Image/PyramidTypes.H"
Include dependency graph for CudaPyramidOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CudaImageSet< float > cudaBuildPyrGaussian (const CudaImage< float > &image, int firstlevel, int depth, int filterSize)
 Uses a Gaussian filter of size filterSize.
CudaImageSet< float > cudaBuildPyrLaplacian (const CudaImage< float > &image, int firstlevel, int depth, int filterSize)
 Uses a Laplacian filter of size filterSize.
CudaImageSet< float > cudaBuildPyrOrientedFromLaplacian (const CudaImageSet< float > &laplacian, int filterSize, float theta, float intens=10.0F)
 Build an oriented pyramid from a Laplacian pyramid.
CudaImageSet< float > cudaBuildPyrOriented (const CudaImage< float > &image, int firstlevel, int depth, int filterSize, float theta, float intens=10.0F)
 Build an oriented pyramid.
CudaImageSet< float > cudaBuildPyrLocalAvg (const CudaImage< float > &image, int depth)
 Build a local average pyramid.
CudaImageSet< float > cudaBuildPyrLocalAvg2x2 (const CudaImage< float > &image, int depth)
 Build a local average 2x2 pyramid.
CudaImageSet< float > cudaBuildPyrLocalMax (const CudaImage< float > &image, int depth)
 Build a local max pyramid.
CudaImageSet< float > cudaBuildPyrGeneric (const CudaImage< float > &image, int firstlevel, int depth, const PyramidType typ, const float gabor_theta=0.0F, const float intens=10.0F)
 Build a generic pyramid.
CudaImage< float > cudaCenterSurround (const CudaImageSet< float > &pyr, const int lev1, const int lev2, const bool absol, const CudaImageSet< float > *clipPyr=0)
 Compute center-surround between images at lev1 and lev2.
void cudaCenterSurround (const CudaImageSet< float > &pyr, const int lev1, const int lev2, CudaImage< float > &pos, CudaImage< float > &neg, const CudaImageSet< float > *clipPyr=0)
 Compute center-surround between images, splitting positive and negative.
CudaImage< float > cudaCenterSurroundSingleOpponent (const CudaImageSet< float > &cpyr, const CudaImageSet< float > &spyr, const int lev1, const int lev2, const bool absol, const CudaImageSet< float > *clipPyr=0)
 Compute single-opponent center-surround between images at lev1 and lev2.
void cudaCenterSurroundSingleOpponent (const CudaImageSet< float > &cpyr, const CudaImageSet< float > &spyr, const int lev1, const int lev2, CudaImage< float > &pos, CudaImage< float > &neg, const CudaImageSet< float > *clipPyr=0)
 Compute single-opp center-surr between imgs, splitting pos and neg.
CudaImage< float > cudaCenterSurroundDiff (const CudaImageSet< float > &pyr1, const CudaImageSet< float > &pyr2, const int lev1, const int lev2, const bool absol, const CudaImageSet< float > *clipPyr=0)
 Compute center-surround between difference images at lev1 and lev2.
void cudaCenterSurroundDiff (const CudaImageSet< float > &pyr1, const CudaImageSet< float > &pyr2, const int lev1, const int lev2, CudaImage< float > &pos, CudaImage< float > &neg, const CudaImageSet< float > *clipPyr=0)
 Compute center-surround differnces, splitting pos & neg values.

Detailed Description

Free functions operating on pyramid data structures

Definition in file CudaPyramidOps.H.


Function Documentation

CudaImageSet<float> cudaBuildPyrGaussian ( const CudaImage< float > &  image,
int  firstlevel,
int  depth,
int  filterSize 
)

Uses a Gaussian filter of size filterSize.

Definition at line 17 of file CudaPyramidOps.C.

References ASSERT, and CudaImage< T >::initialized().

CudaImageSet<float> cudaBuildPyrGeneric ( const CudaImage< float > &  image,
int  firstlevel,
int  depth,
const PyramidType  typ,
const float  gabor_theta = 0.0F,
const float  intens = 10.0F 
)

Build a generic pyramid.

Definition at line 182 of file CudaPyramidOps.C.

References ASSERT, Gaussian3, Gaussian5, Gaussian9, Laplacian5, Laplacian9, Oriented5, and Oriented9.

CudaImageSet<float> cudaBuildPyrLaplacian ( const CudaImage< float > &  image,
int  firstlevel,
int  depth,
int  filterSize 
)

Uses a Laplacian filter of size filterSize.

Definition at line 56 of file CudaPyramidOps.C.

References ASSERT, and CudaImage< T >::initialized().

CudaImageSet<float> cudaBuildPyrLocalAvg ( const CudaImage< float > &  image,
int  depth 
)

Build a local average pyramid.

Definition at line 135 of file CudaPyramidOps.C.

References ASSERT, and CudaImage< T >::initialized().

CudaImageSet<float> cudaBuildPyrLocalAvg2x2 ( const CudaImage< float > &  image,
int  depth 
)

Build a local average 2x2 pyramid.

Definition at line 150 of file CudaPyramidOps.C.

References ASSERT.

CudaImageSet<float> cudaBuildPyrLocalMax ( const CudaImage< float > &  image,
int  depth 
)

Build a local max pyramid.

Definition at line 167 of file CudaPyramidOps.C.

References ASSERT, and CudaImage< T >::initialized().

CudaImageSet<float> cudaBuildPyrOriented ( const CudaImage< float > &  image,
int  firstlevel,
int  depth,
int  filterSize,
float  theta,
float  intens = 10.0F 
)

Build an oriented pyramid.

Definition at line 114 of file CudaPyramidOps.C.

References ASSERT, CudaImage< T >::initialized(), and CudaImageSet< T >::size().

CudaImageSet<float> cudaBuildPyrOrientedFromLaplacian ( const CudaImageSet< float > &  laplacian,
int  filterSize,
float  theta,
float  intens = 10.0F 
)

Build an oriented pyramid from a Laplacian pyramid.

Definition at line 81 of file CudaPyramidOps.C.

References CudaImageSet< T >::size().

void cudaCenterSurround ( const CudaImageSet< float > &  pyr,
const int  lev1,
const int  lev2,
CudaImage< float > &  pos,
CudaImage< float > &  neg,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute center-surround between images, splitting positive and negative.

Definition at line 300 of file CudaPyramidOps.C.

References ASSERT, CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

CudaImage<float> cudaCenterSurround ( const CudaImageSet< float > &  pyr,
const int  lev1,
const int  lev2,
const bool  absol,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute center-surround between images at lev1 and lev2.

Definition at line 275 of file CudaPyramidOps.C.

References ASSERT, CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

void cudaCenterSurroundDiff ( const CudaImageSet< float > &  pyr1,
const CudaImageSet< float > &  pyr2,
const int  lev1,
const int  lev2,
CudaImage< float > &  pos,
CudaImage< float > &  neg,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute center-surround differnces, splitting pos & neg values.

Definition at line 413 of file CudaPyramidOps.C.

References ASSERT, CudaImage< T >::getDims(), CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

CudaImage<float> cudaCenterSurroundDiff ( const CudaImageSet< float > &  pyr1,
const CudaImageSet< float > &  pyr2,
const int  lev1,
const int  lev2,
const bool  absol,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute center-surround between difference images at lev1 and lev2.

Definition at line 381 of file CudaPyramidOps.C.

References ASSERT, CudaImage< T >::getDims(), CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

void cudaCenterSurroundSingleOpponent ( const CudaImageSet< float > &  cpyr,
const CudaImageSet< float > &  spyr,
const int  lev1,
const int  lev2,
CudaImage< float > &  pos,
CudaImage< float > &  neg,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute single-opp center-surr between imgs, splitting pos and neg.

Definition at line 353 of file CudaPyramidOps.C.

References ASSERT, CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

CudaImage<float> cudaCenterSurroundSingleOpponent ( const CudaImageSet< float > &  cpyr,
const CudaImageSet< float > &  spyr,
const int  lev1,
const int  lev2,
const bool  absol,
const CudaImageSet< float > *  clipPyr = 0 
)

Compute single-opponent center-surround between images at lev1 and lev2.

Definition at line 324 of file CudaPyramidOps.C.

References ASSERT, CudaImageSet< T >::isNonEmpty(), max(), min(), and CudaImageSet< T >::size().

Generated on Sun May 8 08:11:21 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3