void calcEigenFaces( int nFaces, IplImage** facesArr, IplImage** eigArr, int iter, IplImage *avg, float *eigVals ); void calcDecomp( IplImage* face, int nEigens, IplImage** eigArr, IplImage *avg, float* coeffs );