Fastest way to compute distance between patches

2 visualizzazioni (ultimi 30 giorni)
thoraya
thoraya il 13 Giu 2017
Risposto: Walter Roberson il 13 Giu 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.

Risposte (1)

Walter Roberson
Walter Roberson il 13 Giu 2017

Community Treasure Hunt

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

Start Hunting!

Translated by