CudaHmaxFLSal Class Reference

Inheritance diagram for CudaHmaxFLSal:
Inheritance graph
[legend]
Collaboration diagram for CudaHmaxFLSal:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CudaHmaxFLSal ()
 Default constructor. Need to call init() later.
 CudaHmaxFLSal (MemoryPolicy mp, int dev, nub::ref< CudaSaliency > sal_in)
 Constructor.
 ~CudaHmaxFLSal ()
 Destructor.
void extractRandC1Patches (Image< float > *&posTrainingImages, int numPosTrainImages, std::vector< int > patchSizes, int nPatchesPerSize, int no)
 Randomly extract a set of C1Patches from positive training images.
void getC1 (CudaImage< float > **&c1Res)
void getC1 (const CudaImage< float > &input, CudaImage< float > **&c1Res)

Protected Attributes

nub::ref< CudaSaliencysal

Detailed Description

Definition at line 52 of file CudaHmaxFLSal.H.


Constructor & Destructor Documentation

CudaHmaxFLSal::CudaHmaxFLSal (  ) 

Default constructor. Need to call init() later.

CudaHmaxFLSal::CudaHmaxFLSal ( MemoryPolicy  mp,
int  dev,
nub::ref< CudaSaliency sal_in 
)

Constructor.

Definition at line 65 of file CudaHmaxFLSal.C.

References CudaHmaxFL::CudaHmaxFL().

CudaHmaxFLSal::~CudaHmaxFLSal (  ) 

Destructor.

Definition at line 71 of file CudaHmaxFLSal.C.


Member Function Documentation

void CudaHmaxFLSal::extractRandC1Patches ( Image< float > *&  posTrainingImages,
int  numPosTrainImages,
std::vector< int >  patchSizes,
int  nPatchesPerSize,
int  no 
)

Randomly extract a set of C1Patches from positive training images.

Reimplemented from CudaHmaxFL.

Definition at line 76 of file CudaHmaxFLSal.C.

References cudaCrop(), CudaImage< T >::getHeight(), CudaImage< T >::getWidth(), CudaImage< T >::resize(), CudaHmaxFL::setC1Patches(), Rectangle::tlbrI(), and ZEROS.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:21:09 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3