Any algorithm exist for sorting contours based on features?
Afficher commentaires plus anciens
I have to sort data such that inner loops contours should store in one matrix, then second loops and then for third loops. Actually I am able to store data in one matrix for 2 or 3 contours in a same plane but when number of contours changes with plane like at 6th slice there are 2 contours and at 7th slice there are 3 contours my program is unable to sort data contour wise. So how con I differentiate data any idea.

3 commentaires
Mohammad Sami
le 23 Mar 2020
How is your original dataset stored ?
Are all these completely inside x-y plane ?
You can just calculate max x and maxy for each contour and z plane that you have
Image Analyst
le 23 Mar 2020
What do you want to sort ON? Like first by z level, then from outside to inside? I have no idea what you want to sort by. Based on "features" - well, what features? Radius? Z???? Saying "sort data contour wise" means absolutely nothing to me. "Contour wise" is not a number that we can sort on. But things like radius or Z or whether it's inside another circle are. In what form are your curves? How did you draw them? Do you have a list of (x,y) coordinates for each of the 37 curves?
Akshay Sahu
le 14 Avr 2020
Réponses (0)
Catégories
En savoir plus sur Contour Plots 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!
