How to arrange this pixel address one by one?

조회 수: 1 (최근 30일)
saravanakumar D
saravanakumar D 2014년 1월 29일
답변: Image Analyst 2014년 1월 29일
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
David Sanchez
David Sanchez 2014년 1월 29일
could you paste the code you use to output your result in that order?

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 1월 29일
Try bwtraceboundary().

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by