- Segment both boundaries into two separate images.
- Store the pixel indices in a cell array (two cell array)
- Calculate the Euclidean distance between each pair of indices (all possible combinations).
- Find the minimum distance value.
How to find the minimum distance from one point to other point ?
3 ビュー (過去 30 日間)
In image, we have two boundaries (M- inner boundary and N-outer boundary). Suppose M boundary has 1000 points and N has 1500 points. I want to calculate the distance and angle from point V(fixed point) to boundary M. How will i calculate the minimum diatance from point M on the boundary m to boundary N (for every point on the boundary m) ??
回答 (2 件)
KALYAN ACHARJYA 2023 年 6 月 5 日
You can do that in multiple ways, one way
I hope this helps!