what is var function in matlab?how does it works in image processing?
Show older comments
what is var function in matlab? how does it works in image processing?
1 Comment
Matt J
on 7 Nov 2013
Shouldn't you know, if you've read
>>doc var
>>help var
Answers (1)
Image Analyst
on 7 Nov 2013
0 votes
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.
Categories
Find more on Image Category Classification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!