Browse Source

* 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
remotes/tiles
sam 16 years ago
parent
commit
870828bc87
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      examples/edd.c

+ 3
- 3
examples/edd.c View File

@@ -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)
{


Loading…
Cancel
Save