TP-traitement-audio-visuel/TP10/debruitage.asv
2023-06-22 20:47:16 +02:00

13 lines
207 B
Plaintext

function Y_debruite = debruitage(Y_sb, Y_b)
mu = mean(Y_sb, 2);
sigma = std(Y_sb, 1, 2);
alpha = 0.5;
seuil = mu + alpha * sigma;
masque = Y_b > seuil;
masque = imgaussfilt()
end