Local variance estimation for image filtering
Show older comments
Hi,
while implementing median filter, medfilt2(), why does medfilt2(I.^2) and medfilt2(I).^2 produce same result?
I am interested in calculating local variance
, but using this methodology it is exactly 0.
How do I implement the formula correctly?
Accepted Answer
More Answers (1)
Image Analyst
on 21 Jun 2022
0 votes
Try stdfilt if you have the Image Processing Toolbox. It gives the standard deviation in a local window.
Categories
Find more on Images 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!