Distances between regions in matlab

Asked by Ryan about 12 hours ago
Latest activity Answered by Image Analyst about 10 hours ago

I am trying to find the distance between two points for different regions. However in order to get from one region to another there is a given point on the boundary between the two regions where you would go from point 1 to the boundary point to point 2. My problem is there are 8 different regions. So if point 1 is in region 1 and point 2 is in region 8 I may have to find the distance between point 1 to boundary point 1 to boundary point 2 etc. to point 8. The explanation here may be bad but I thought id give it a shot.

0 Comments

Ryan

Tags

1 Answer

Answer by Image Analyst about 10 hours ago

Why don't you just go between the centroids of the regions?

There are other definitions of distances. It sounds like you'd better take a look at the Hausdorf distance to see if that's what you need: http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/98/normand/main.html

0 Comments

Image Analyst

Contact us