CudaImageSetOps.H File Reference

#include "Util/Types.H"
Include dependency graph for CudaImageSetOps.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CudaImageSet processing functions

Not all of these functions are templates, simply because alternate versions aren't currently needed.

template<class T >
bool cudaIsHomogeneous (const CudaImageSet< T > &x)
 Returns true if all images in the set are the same size.
template<class T >
bool cudaIsDyadic (const CudaImageSet< T > &pyr)
 Check whether the pyramid is dyadic.
template<class T >
CudaImageSet< T > cudaTakeSlice (const CudaImageSet< T > *sets, uint N, uint s)
 Make an CudaImageSet from the s'th level from each of the N input sets.

Detailed Description

Free functions operating on sets of images

Definition in file CudaImageSetOps.H.


Function Documentation

template<class T >
bool cudaIsDyadic ( const CudaImageSet< T > &  pyr  )  [inline]

Check whether the pyramid is dyadic.

A dyadic pyramid is one in which each level is one half the width and one half the height of the preceding level. NOTE that this function is defined here, in CudaImageSetOps.H, rather than in Pyramid_Ops.H, in order to avoid a cyclic dependency between those two modules. CudaImageSetOps needs isDyadic() in order to implement makeImageArray().

Definition at line 73 of file CudaImageSetOps.C.

References Dims::h(), max(), CudaImageSet< T >::size(), and Dims::w().

template<class T >
bool cudaIsHomogeneous ( const CudaImageSet< T > &  x  )  [inline]

Returns true if all images in the set are the same size.

Also returns true for the empty set.

Definition at line 58 of file CudaImageSetOps.C.

References CudaImageSet< T >::size().

template<class T >
CudaImageSet<T> cudaTakeSlice ( const CudaImageSet< T > *  sets,
uint  N,
uint  s 
) [inline]

Make an CudaImageSet from the s'th level from each of the N input sets.

This is useful, for example, in transforming an array of CudaImageSets from multiple-scales-per-set/one-orientation-per-set into the reverse, multiple-orientations-per-set/one-scale-per-set.

Definition at line 95 of file CudaImageSetOps.C.

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