c++ - Getting "inf" and "nan" values in Scatter Matrices in fisher face algorithm -


i using opencv , c++. have 50 patterns , 10 classes fisher face recognition algorithm. in calculation of scatter matrices, getting "inf" , "nan" values. using cv_32f data type mat.

    mat sb = mat(totalpattern, totalpattern, cv_32f);     sb = sb + temp;  

where temp temporary mat of multiplication of each column , it's transpose.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -