how to calculate the background variance(BV) an detail varaince(DV) of an image in matlab?? Thanks in advance
4 views (last 30 days)
Show older comments
std=(stdfilt(temp,ones(5))); %local standard deviation
Lvar=(std.^2); % local variance
Background Variance??
Detail Variance??
1 Comment
Walter Roberson
on 31 Aug 2015
it is not a good idea to name a variable std as that will interefere with using the function std()
Answers (0)
See Also
Categories
Find more on Convert Image Type 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!