source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/torr/torr_errfa.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 300 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | |
2 | function e = torr_errfa(fa, x1,y1,x2,y2, no_matches, m3) | |
3 | %disp('estimating error on f') | |
4 | ||
5 | normfa = fa(1) * fa(1) + fa(2) * fa(2) + fa(3) * fa(3) + fa(4) * fa(4); | |
6 | normfa = sqrt(normfa); | |
7 | ||
8 | e =fa(1) .* x1(:) + fa(2).*y1(:) + fa(3).*x2(:) +fa(4) .* y2(:) + fa(5) .* m3; | |
9 | e = e ./ normfa; | |
10 |
Note: See TracBrowser
for help on using the repository browser.