faceDetection.C File Reference

#include "Channels/ChannelOpts.H"
#include "Component/GlobalOpts.H"
#include "Component/ModelManager.H"
#include "GUI/XWinManaged.H"
#include "Gist/FFN.H"
#include "Image/FFTWWrapper.H"
#include "Gist/ModelFace.H"
#include "Image/CutPaste.H"
#include "Image/DrawOps.H"
#include "Image/Image.H"
#include "Image/ImageSet.H"
#include "Image/Kernels.H"
#include "Image/MathOps.H"
#include "Image/Pixels.H"
#include "Image/PyramidOps.H"
#include "Image/ShapeOps.H"
#include "Image/Transforms.H"
#include "Media/FrameSeries.H"
#include "Media/MediaSimEvents.H"
#include "Neuro/NeuroOpts.H"
#include "Neuro/NeuroSimEvents.H"
#include "Neuro/ShapeEstimator.H"
#include "Neuro/VisualCortex.H"
#include "Neuro/StdBrain.H"
#include "Raster/Raster.H"
#include "Simulation/SimEventQueueConfigurator.H"
#include "Channels/BlueYellowChannel.H"
#include "Channels/ColorChannel.H"
#include "Channels/GaborChannel.H"
#include "Channels/IntensityChannel.H"
#include "Channels/OrientationChannel.H"
#include "Channels/RedGreenChannel.H"
Include dependency graph for faceDetection.C:

Go to the source code of this file.

Functions

void setupPrimeLevEstimator ()
void setupFFTW (Image< float > img)
int * getPrimeLev (Image< float > img)
void setupGaborMask (Image< float > img)
Image< float > normalize (Image< float > img)
Image< float > getFftImage (double **outFft, int w, int h)
void fftCompute (Image< float > img, double **outFft)
void getFeatureVector (double **outFft, Image< double > &res, int w, int h)
void getFeatureVector2 (nub::soft_ref< StdBrain > brain, Image< double > &vec, int w, int h)
void freeFftwData (Image< float > img)
void setupPartDetectors ()
Rectangle getWindow (Image< float > img, Point2D< int > p, int s)
void getFacePartProb (Point2D< int > p, float ang, double *pPart)
void correctGabors (Image< float > **Img, float ang)
void getFacePartFeatures (Rectangle r, FacePart part, Image< double > &features)
void getEyeFeature (Rectangle r, Image< double > &features)
void getEyeFeature (Image< float > **img, Image< double > &features)
void getNoseFeature (Rectangle r, Image< double > &features)
void getNoseFeature (Image< float > **img, Image< double > &features)
void getMouthFeature (Rectangle r, Image< double > &features)
void getMouthFeature (Image< float > **img, Image< double > &features)
void detectFace (Image< float > img, nub::soft_ref< StdBrain > brain, Point2D< int > winner)
Point2D< int > getIntSalPt (Image< float > img, Point2D< int > p)
Point2D< int > getIntSalPt (Image< float > img, Image< float > &vis, Point2D< int > p)
float getSalG (Point2D< int > p, int lev)
void getLocalSalPt (Point2D< int > pWinner, int max, Point2D< int > **pt, double **ang, int *np)
void crop (Image< float > &img, Point2D< int > p)
void getContextPt (Point2D< int > *attPt, float *dir, double **pProb, int n, int max, Point2D< int > **pt, double **ang, int *np)
double getAng (Point2D< int > p)
float getPotVal (Point2D< int > *attPt, float *dir, double *pProb[NUM_FACE_PART], int n, Point2D< int > pt, float a, double tProb[NUM_FACE_PART])
float getGeomRelProb (FacePart o, FacePart c, Point2D< int > oPt, float oD, Point2D< int > cPt, float cA)
bool locateFace (Point2D< int > *attPt, float *dir, double *pProb[NUM_FACE_PART], int n)
void drawFace (Image< float > &img)
void printRegion (Image< float > img, int sX, int eX, int dX, int sY, int eY, int dY)
void displayPartImage (Image< float > img, Rectangle pr)
int main (const int argc, const char **argv)

Variables

CloseButtonListener wList
XWinManagedimgWin
XWinManagedfftWin
XWinManagedsalWin
XWinManagedworkWin
ImageSet< float > pyrImg
FFTWWrapperfftw
rutz::shared_ptr
< FeedForwardNetwork
ffn_pl
int primeLev = 0
double * input = NULL
Image< double > gft
double * iptr = NULL
double ** outFftw = NULL
double **** gaborMask = NULL
Image< float > gaborMaskImg [NUM_G_LEV][NUM_G_DIR]
rutz::shared_ptr
< FeedForwardNetwork
ffn_e
rutz::shared_ptr
< FeedForwardNetwork
ffn_n
rutz::shared_ptr
< FeedForwardNetwork
ffn_m
Image< float > currImg
ImageSet< float > currGaPyr [NUM_DIR]
Point2D< int > eyeP
Point2D< int > eye2P
Point2D< int > noseP
Point2D< int > mouthP
float eyeD
float eye2D
float noseD
float mouthD
XWinManagedtXW
int txwC = 0
XWinManagedxwi [2][4]
int xwiC = 0
XWinManagedxwCG [2][4]
XWinManagedpartWin
int start = 0

Detailed Description

saliency based face detection

Definition in file faceDetection.C.


Variable Documentation

face detection program

Definition at line 77 of file faceDetection.C.

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