Salt and pepper noise removal

6 次查看(过去 30 天)
Luca Pecoriello
Luca Pecoriello 2019-12-11
Hi
I have a set of thermographic data in the form of pixel-pixel-time (third order tensor). At some point, I want to remove the salt and pepper noise from the data. So I am planning to a median filter, in particular I want to use the command
medfilt2
J = medfilt2(I,[m n]) performs median filtering, where each output pixel contains the median value in the m-by-n neighborhood around the corresponding pixel in the input image.
What could be standard criteria to define the size m and n?
I am working with black and white (grayscale) images (which are my thermal images).
From other analysis I know the size (in pixels) of an area where I could expect a possible defect. Maybe this sizes could become my m and n?
Greetings
Luca

回答(0 个)

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by