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

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -