Finding the distances between two boundaries
显示 更早的评论
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!
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
