How to arrange this pixel address one by one?

1 visualización (últimos 30 días)
saravanakumar D
saravanakumar D el 29 de En. de 2014
Respondida: Image Analyst el 29 de En. de 2014
I am doing map processing. I solved the maze and got the address of the turnings. Below is my result. (28,136) (122,136) (344,391) (548,493) (548,191) (344,191) (122,391) But the address are not in correct order. My expected output is (28 136) (122 136) (122 391) (344 391) (344 191) (548 191) (549 493)
  1 comentario
David Sanchez
David Sanchez el 29 de En. de 2014
could you paste the code you use to output your result in that order?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 29 de En. de 2014
Try bwtraceboundary().

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by