Draw normal to edge detection image

3 Ansichten (letzte 30 Tage)
developer
developer am 23 Mai 2011
Kommentiert: Mehri Mehrnia am 27 Jun. 2022
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 .

Antworten (1)

Wolfgang Schwanghart
Wolfgang Schwanghart am 23 Mai 2011
You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors.
HTH, W.
  1 Kommentar
Mehri Mehrnia
Mehri Mehrnia am 27 Jun. 2022
but surfnorm is for 3D , how to use it for the edges of the 2D shape?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by