Image Mean, Standard Deviation, and Correlation Coefficient
You can compute standard statistics of an image using the
compute the mean and standard deviation of the elements of a matrix.
corr2 computes the correlation coefficient between two matrices
of the same size.
These functions are two-dimensional versions of the
corrcoef functions described in the MATLAB® Function Reference.