Borrar filtros
Borrar filtros

Euclidean distance for all pixels

1 visualización (últimos 30 días)
Elysi Cochin
Elysi Cochin el 5 de Nov. de 2012
i wanted to find the minimum of Euclidean distance, between pixels of an image?? please can someone help me with the code??

Respuesta aceptada

Image Analyst
Image Analyst el 5 de Nov. de 2012
That would be 1, and occurs for any pixels that are adjacent to each other.
  3 comentarios
Image Analyst
Image Analyst el 5 de Nov. de 2012
The center pixel will be anywhere from half the width (or height) to sqrt((width/2)^2 + (height/2)^2) from the edge pixels.
Elysi Cochin
Elysi Cochin el 5 de Nov. de 2012
thanks sir..

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by