Draw normal to edge detection image

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 .

Respuestas (1)

Wolfgang Schwanghart
Wolfgang Schwanghart el 23 de Mayo de 2011

0 votos

You can compute surface normals using the function surfnorm. Then, you can use quiver to draw the vectors.
HTH, W.

1 comentario

Mehri Mehrnia
Mehri Mehrnia el 27 de Jun. de 2022
but surfnorm is for 3D , how to use it for the edges of the 2D shape?

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 23 de Mayo de 2011

Comentada:

el 27 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by