Standard deviation of 2D matrix elements
s = std2(im) s = stdev2(im)
An matrix/image, which can be integer or double matrix, but must be one channel image.
The standard deviation, a scalar of class double.
std2/stdev2 computes standard deviation of matrix im using stdev(im(:)).