#include "Util/Types.H"
Go to the source code of this file.
Functions | |
CudaImageSet processing functions | |
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. |
Free functions operating on sets of images
Definition in file CudaImageSetOps.H.
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().
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().
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.