#include "Image/DrawOps.H"
#include "Image/MathOps.H"
#include "Neuro/StdBrain.H"
#include "Raster/Raster.H"
#include "Gist/trainUtils.H"
#include <cstdio>
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) |
training utility functions (not limited to FFN)
Definition in file trainUtils.C.
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.