From 870828bc8763ef0220d8c8b240229d28b88743e7 Mon Sep 17 00:00:00 2001 From: sam Date: Sun, 3 Aug 2008 11:48:16 +0000 Subject: [PATCH] * edd.c: output MSD instead of RMSD in the displacement computation. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2657 92316355-f0b4-4df1-b90c-862c8a59935f --- examples/edd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/edd.c b/examples/edd.c index 92a59a9..733b7e2 100644 --- a/examples/edd.c +++ b/examples/edd.c @@ -57,12 +57,12 @@ int main(int argc, char *argv[]) /* Compute the standard error */ tmp = pipi_gaussian_blur(dither, sigma); - e0 = pipi_measure_rmsd(gauss, tmp); + e0 = pipi_measure_msd(gauss, tmp); pipi_free(tmp); /* Compute the fast error */ tmp = pipi_gaussian_blur_ext(dither, sigma, sigma, 0.16, 0.26); - e1 = pipi_measure_rmsd(gauss, tmp); + e1 = pipi_measure_msd(gauss, tmp); pipi_free(tmp); /* Compute displacement */ @@ -74,7 +74,7 @@ int main(int argc, char *argv[]) tmp = pipi_gaussian_blur_ext(dither, sigma, sigma, fx + step * dx / Z, fy + step * dy / Z); - e = pipi_measure_rmsd(gauss, tmp); + e = pipi_measure_msd(gauss, tmp); pipi_free(tmp); if(e < best) {