Fastest way to compute distance between patches

3 vues (au cours des 30 derniers jours)
thoraya
thoraya le 13 Juin 2017
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.

Réponses (1)

Walter Roberson
Walter Roberson le 13 Juin 2017

Community Treasure Hunt

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

Start Hunting!

Translated by