Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想用skimage.graph.route_through_array路由数组。我有一个起点和多个目的地。我想知道是否可以将多个目的地插入到函数中。我知道我也可以循环该函数,但我正在寻找更快的东西。
从您链接到的文档中,它似乎end需要与 相同的尺寸start,这也与 ndarray 相同。所以,不,使用该功能你不能做你想做的事。您可以将该函数包装在您自己的函数中,正如您所建议的那样,循环各个端点。
end
start