Getting distance and cost from an MCP
Stéfan van der Walt
stefan at sun.ac.za
Fri Apr 25 03:54:00 EDT 2014
Hi David
On Wed, Apr 23, 2014 at 12:43 PM, David Orme <david.orme at gmail.com> wrote:
> Basically, add a downscaled resolution to the cost values - downscaled so
> that this additional value doesn't interfere with the cost pathways. Then
> run find_costs() on both versions of the cost matrix and the difference
> (scaled back up) is the physical distance. I think the traceback matrix
> provides a test for when the hack fails by interfering with the pathing.
Yikes :)
I'm not sure I understand your problem, since you are given the path
coordinates as output?
Regards
Stéfan
More information about the scikit-image
mailing list