/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: 2009-01-15 13:50:29 UTC
  • Revision ID: csa@dside.dyndns.org-20090115135029-wleapicg9a4593tp
Initial import

Show diffs side-by-side

added added

removed removed

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