浏览代码

* 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 年前
父节点
当前提交
870828bc87
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      examples/edd.c

+ 3
- 3
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)
{


正在加载...
取消
保存