how to calculate the background variance(BV) an detail varaince(DV) of an image in matlab?? Thanks in advance

std=(stdfilt(temp,ones(5))); %local standard deviation
Lvar=(std.^2); % local variance
Background Variance??
Detail Variance??

1 Comment

it is not a good idea to name a variable std as that will interefere with using the function std()

Sign in to comment.

Answers (0)

Categories

Asked:

on 31 Aug 2015

Commented:

on 31 Aug 2015

Community Treasure Hunt

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

Start Hunting!