how to find the neighbour pixel having maximum value?
Mostrar comentarios más antiguos
i have calculated the parzen density for an image. Now i have to find the maximum valued pixel of an image in the 3x3 matrix window
6 comentarios
Jan
el 23 de Sept. de 2013
This question is too vague to post a meaningful answer. It matters in which format the input data are available.
sheno39
el 24 de Sept. de 2013
kalai
el 26 de Sept. de 2013
By using for loop, for every window arrange your pixels in an array, find the maximum one. And replace that in current pixel(center pixel of your window) position.
Instead of that you can use 'blockproc' MATLAB inbuilt function.
sheno39
el 26 de Sept. de 2013
Image Analyst
el 26 de Sept. de 2013
See attached demos below.
sheno39
el 30 de Sept. de 2013
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Blocked Images 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!