How to apply Median filter to a image for fixed number of times using for loop
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
sacprasanna
el 3 de Dic. de 2015
Comentada: Walter Roberson
el 3 de Dic. de 2015
Hello all,
Simply I want to rewrite below code using for loop.
B = medfilt2( A );
C = medfilt2( B );
D = medfilt2( C );
E = medfilt2( D );
F = medfilt2( E );
Can't figure out how to store image in array or something to call inside for loop.
Thanks
0 comentarios
Respuesta aceptada
Walter Roberson
el 3 de Dic. de 2015
result{1} = A;
for K = 2 : 6
result{K} = medfilt(result{K-1});
end
2 comentarios
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!