Azzera filtri
Azzera filtri

Finding the deviation angle of two circles

1 visualizzazione (ultimi 30 giorni)
itai
itai il 4 Mag 2017
Hi, I have image of fiber optic which include 2 circles and the target is to calculate the deviation angle relative to the Y axis to perform correction to this component by rotation the calculated angle. I thought to find the center points of the circles and using Tangent function to calculate the angle between Y axis and the line that passes between the two center circles. But, sometimes (perhaps due to minor changes in lighting , etc.) the algorithm finds the centers of the circles a few pixels from the real center and this causes over +/-0.5 degree angle error in some cases, I can allow a difference of up to +/-0.1 degree angle error. I have attached the code and image. Please your advice.
Thanks, Itai

Risposte (0)

Categorie

Scopri di più su 3-D Scene Control 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