Draw normal to edge detection image

조회 수: 2 (최근 30일)
developer
developer 2011년 5월 23일
댓글: Mehri Mehrnia 2022년 6월 27일
Hello,
I have an image that is the resulting image after detecting an edges, now i have to draw normal vector to the surfaces of the image .

답변 (1개)

Wolfgang Schwanghart
Wolfgang Schwanghart 2011년 5월 23일
You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors.
HTH, W.
  댓글 수: 1
Mehri Mehrnia
Mehri Mehrnia 2022년 6월 27일
but surfnorm is for 3D , how to use it for the edges of the 2D shape?

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by