source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/torr/torr_errfa.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 300 bytes |
Line | |
---|---|
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.