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