how to join these random points in a desired rectangle shape automatically by programming..
Afficher commentaires plus anciens
i am able to join these points in rectangle by manually arrange in order..but i want to arrange automatically in programming by image processing techniques... i also checked chaincode method in image processing..this is beneficial for 8-connected points but my points are not adjacent neighbors.. I have two vectors f1 in x-axis and f2 in y-axis..
f1 = [25.0 25.0 25.0 25.0 25.0 26.8 27.4 29.8 30.2 32.2 33.6 33.9 35 35 35 35]
f2 = [-3.5 -4.9 0.9 -5.3 -0.4 1.9 -5.3 1.6 -5.3 1.7 -5.3 1.8 -5.5 -4.9 -3.1 0]
points are like:
(25.0, -3.5)
(25.0, -4.9)
(25.0, 0.9)
(25.0, -5.3)
(25.0, -0.4)
(26.8, 1.9)
(27.4, -5.3)
(29.8, 1.6)
(30.2, -5.3)
(32.2, 1.7)
(33.6, -5.3)
(33.9, 1.8)
(35, -5.5)
(35, -4.9)
(35, -3.1)
(35, 0)
Réponse acceptée
Plus de réponses (1)
VANDANA GUPTA
le 8 Mai 2019
0 votes
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!