

k=0;
clear mapmatch
mapmatchname = [fbase 'mapmatches'];
eval(mapmatchname);
k


ids = cat(1,mapmatch.id);
score1 = cat(1,mapmatch.score);
score2 = cat(1,mapmatch.score2);
score3 = score2(:,[1 1])./score2(:,[2 3]);

priorTab = [mapmatch.prior_Tab];
shortTab = [mapmatch.short_Tab];
matchTab = [mapmatch.match_Tab];
dist = sqrt(sum((priorTab(1:2,:)-matchTab(1:2,:)).^2))';
priorCab = cat(1,mapmatch.prior_Cab);
transSig = sqrt(sum(priorCab(:,[1 3]),2));

nres2 = cat(1,mapmatch.short_Tab_nres);

summary = [(1:k)' score3 score2(:,3) dist 3*transSig nres2 ids]