发布网友
共1个回答
热心网友
function Output = denoiseByTv(Ima, Thr)
ImaTv = imfilter(Ima, 'Laplacian');
ImaTh = (ImaTv< Thr)*ImaTv;
output = Ima - ImaTh;
end