trainUtils.C File Reference

#include "Image/DrawOps.H"
#include "Image/MathOps.H"
#include "Neuro/StdBrain.H"
#include "Raster/Raster.H"
#include "Gist/trainUtils.H"
#include <cstdio>
Include dependency graph for trainUtils.C:

Go to the source code of this file.

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.C.


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:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3