Ignore:
Timestamp:
07/23/2009 01:04:04 PM (10 years ago)
Author:
dave
Message:

added face classifier application, not working yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • foam/trunk/vision/src/PCA.h

    r90 r94  
    4141        void Compress(unsigned int s, unsigned int e); 
    4242         
    43         Vector<float> Project(Vector<float> v); 
    44         Vector<float> Synth(Vector<float> v); 
     43        Vector<float> Project(Vector<float> v) const; 
     44        Vector<float> Synth(Vector<float> v) const; 
    4545 
    4646        static void RunTests(); 
    4747 
    48         const Vector<float> &GetEigenValues() { return m_EigenValues; } 
    49         const Matrix<float> &GetEigenTransform() { return m_EigenTransform; } 
    50         const FeatureVec &GetFeatures() { return m_Features; } 
    51         const Vector<float> &GetMean() { return m_Mean; } 
     48        const Vector<float> &GetEigenValues() const { return m_EigenValues; } 
     49        const Matrix<float> &GetEigenTransform() const { return m_EigenTransform; } 
     50        const FeatureVec &GetFeatures() const { return m_Features; } 
     51        const Vector<float> &GetMean() const { return m_Mean; } 
     52        unsigned int GetFeatureSize() const { return m_FeatureSize; } 
    5253         
    5354         
Note: See TracChangeset for help on using the changeset viewer.