Fastest way to compute distance between patches

2 次查看(过去 30 天)
Hi, for each pixel(x,y) of a given image: two squared patches P1, P2 on each side(left and right) are considered. Then, i have to compute the distance between each symetric elements of P1 and P2. I have implemented this but in a naïve way, so it is really very slow. I want to do it in a fast way.
Any help would be appreciated.

回答(1 个)

Walter Roberson
Walter Roberson 2017-6-13

类别

Help CenterFile Exchange 中查找有关 Polygons 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by