what is var function in matlab?how does it works in image processing?

2 views (last 30 days)
what is var function in matlab? how does it works in image processing?

Answers (1)

Image Analyst
Image Analyst on 7 Nov 2013
V = var(X) returns the variance of X for vectors. For matrices, var(X)is a row vector containing the variance of each column of X.For N-dimensional arrays, var operates along the first non-singleton dimension of X. The result V is an unbiased estimator of the variance of the population from which X is drawn, as long as X consists of independent, identically distributed samples.
It might possibly be used locally in image processing as an edge detector, or to determine the noise or SNR in an image.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!