/normxcorr/trunk

To get this branch, use:
bzr branch http://suren.me/webbzr/normxcorr/trunk

« back to all changes in this revision

Viewing changes to quality_check.m

  • Committer: Suren A. Chilingaryan
  • Date: 2010-04-22 13:42:41 UTC
  • Revision ID: csa@dside.dyndns.org-20100422134241-fv5m2ufk8n2tc9h5
Implementation of image and fragment modes, support for non-cacheable grids

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
x=load('data/validx.dat');
5
5
y=load('data/validy.dat');
6
6
 
7
 
xdiff = abs((x - xorig) ./ xorig);
8
 
ydiff = abs((y - yorig) ./ yorig);
 
7
%xdiff = abs((x - xorig) ./ xorig);
 
8
%ydiff = abs((y - yorig) ./ yorig);
 
9
 
 
10
xdiff = abs((x - xorig));
 
11
ydiff = abs((y - yorig));
9
12
 
10
13
max(max(xdiff(:)), max(ydiff(:)))
11
14
max(norm(xdiff(:))/sqrt(length(xdiff(:))), norm(ydiff(:))/sqrt(length(ydiff(:))))