Image Processing Toolbox User's Guide Previous page   Next Page

Getting Summary Statistics About an Image

You can compute standard statistics of an image using the mean2, std2, and corr2 functions. mean2 and std2 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 mean, std, and corrcoef functions described in the MATLAB Function Reference.

Previous page  Creating an Image Histogram Computing Properties for Image Regions Next page

© 1994-2005 The MathWorks, Inc.