Local variance estimation for image filtering
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 21 Jun. 2022
0 Stimmen
Try stdfilt if you have the Image Processing Toolbox. It gives the standard deviation in a local window.
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
