I am having difficulty in finding a code to find diameter of a circle
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Calvin Teoh
il 28 Ott 2021
Risposto: Drishan Poovaya
il 1 Nov 2021
Is there an easier method to find the diamter of the 2 circles in mm?
0 Commenti
Risposta accettata
Drishan Poovaya
il 1 Nov 2021
Rather than finding the distance with code, I feel it would be easier to use imtool and use the 'Measure distance' tool.
You can run imtool by running the snippet below
imtool('image.png')
This will give you the relative distance in pixels. You can convert this value to mm by using the 'Measure distance' tool on the scale you have here, and calculating the ratios.
Refer to this answer for more details
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps 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!