trainUtils.H File Reference

#include "Image/Image.H"
#include <string>
Include dependency graph for trainUtils.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FFNtrainInfo

Defines

#define TUTILS_RW_RANGE   1.0

Functions

Image< double > setupPcaIcaMatrix (std::string inW, int oriSize, int redSize)
 Setup the PCA/ICA unmixing matrix.
Image< float > getPcaIcaFeatImage (Image< double > res, int w, int h, int s)

Detailed Description

training utility functions (not limited to FFN)

Definition in file trainUtils.H.


Function Documentation

Image<float> getPcaIcaFeatImage ( Image< double >  res,
int  w,
int  h,
int  s 
)

Get the PCA/ICA reduced feature vector in a form of an image

Definition at line 175 of file trainUtils.C.

References drawPatch(), Image< T >::getVal(), and ZEROS.

Image<double> setupPcaIcaMatrix ( std::string  inW,
int  oriSize,
int  redSize 
)

Setup the PCA/ICA unmixing matrix.

Definition at line 137 of file trainUtils.C.

References Image< T >::beginw(), and NO_INIT.

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