variable section value give me some mean value but std is zero
Afficher commentaires plus anciens

bro i have the same coding in which the db variable section value give me some mean value but std is zero.and also during detection its detect same class (class 1) for all images.please any solution
function [F]=FeatureStatistical(im)
im = double(im(:));
m=mean(mean(im));
s=std(std(im));
F=[m s];
2 commentaires
Walter Roberson
le 26 Nov 2016
That's odd, I was sure that I had answered this Question, but nothing shows up. Ah well, my answer was the same as dpb's
dpb
le 26 Nov 2016
Musta' not gotten saved, Walter--no Answer when I looked first; I sort on "Unanswered" rather than look at other stuff....
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!