Local variance estimation for image filtering
显示 更早的评论
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?
采纳的回答
更多回答(1 个)
Image Analyst
2022-6-21
0 个投票
Try stdfilt if you have the Image Processing Toolbox. It gives the standard deviation in a local window.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
