How to get a rectangular sliding window around a pixel?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Rachel
el 21 de En. de 2014
Respondida: Image Analyst
el 21 de En. de 2014
I am new to matlab and I would really appreciate any help!
I want to implement a rectangular sliding window around a pixel and perform some operations on it. Can someone help me do the rectangular sliding window part?
Thanks in advance!
0 comentarios
Respuesta aceptada
Más respuestas (1)
Image Analyst
el 21 de En. de 2014
What do you want to do? How about imfilter() or conv2() for simple linear filters. If you want nonlinear filters (basically any custom operations that you can think of, you can use nlfilter(). Attached is an example of nlfilter() to take the variance in a local sliding window.
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!