variable section value give me some mean value but std is zero
Show older comments

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 Comments
Walter Roberson
on 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
on 26 Nov 2016
Musta' not gotten saved, Walter--no Answer when I looked first; I sort on "Unanswered" rather than look at other stuff....
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!