source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/torr/torr_errg_sse.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 394 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | % This function is used by torr_nonlinG and provides the sum of squared error for a |
2 | % particular g by converting to F and measuring Sampson's distance. | |
3 | ||
4 | function [sseC] = torr_errg_sse(g, nx1,ny1,nx2,ny2, m3, C) | |
5 | %first convert the 6 parameters of g to a fundamental matrix | |
6 | ||
7 | f = torr_g2F(g,C); | |
8 | ||
9 | e = torr_errf2(f, nx1,ny1,nx2,ny2, length(nx1), m3); | |
10 | sseC = norm(e,1); % sum of squares |
Note: See TracBrowser
for help on using the repository browser.