Finding the distances between two boundaries
Afficher commentaires plus anciens
Hi there,
I have an expanding object, which shows different contours at different time. In this case, I would like to analyze its expansion speed at all sides.
Firstly, these two contours at two adjacent time are binarized and shown below.
- Boundary 01

- Boundary 02

Secondly, I got the outline coordinates along these two contours using the edge() function. At the same time, I plotted the gradient arrows started from the first contour, to show the expanding directions at different sides. A part is shown as follows.

My question is, how to find the pairwise coordinates from the second (the larger one, black) contour? Where it is exactly the point of intersection or the one is closest to the arrow expansion line. After locating the pairwise point, we may need to adjust the gradient arrow a little bit, and measure its length to indicate the expanding speed. Thank you in advance!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Category Classification 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!
