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
Post a Comment