finding a normal at a point

1 visualizzazione (ultimi 30 giorni)
prashanth A
prashanth A il 25 Ago 2014
Modificato: prashanth A il 25 Ago 2014
dear all,
please look at the following figure. in this, i am trying to find normal at the corners and d sides of this shape. i used the 'polyfit' function, to generate the slope, and then find the line.
at the corners, the normal is somewhat okay, but at the middle point of the sides, the normal is not proper. the reason i attribute to : a very small or large value of inverse of 'first coefficient' given by polyfit.
suggest a way out...

Risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by