Sliding window for image
Mostrar comentarios más antiguos
Hi can anyone show me how to use a 32x32 sliding window on an image using and extract the mean from each window?
Thanks
Respuesta aceptada
Más respuestas (1)
Joseph Cheng
el 17 de Abr. de 2014
You can use blockproc().
M=magic(10);
fun =@(MEANS) mean(MEANS.data(:));
blockproc(M,[2 2],fun)
1 comentario
Ciara
el 17 de Abr. de 2014
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!