Standard deviation of 2D matrix elements
s = std2(im) s = stdev2(im)
std2/stdev2 computes standard deviation of matrix im using stdev(im(:)).
std2/stdev2
im
stdev(im(:))
http://sivp.sf.net