Any algorithm exist for sorting contours based on features?
3 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 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?
Answers (0)
See Also
Categories
Find more on Contour Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!