source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/BlueCCal/MultiCamSelfCal/MartinecPajdla/utils/eucl_dist.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 314 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | %eucl_dist Return Eucledian norm of the difference between two scenes. |
2 | % | |
3 | % er = eucl_dist(M0, M [,I]) | |
4 | % | |
5 | % Note: Perspective cameras are assumed. | |
6 | ||
7 | function er = eucl_dist(M0, M, I) | |
8 | ||
9 | if nargin < 3, I = ~isnan(M0(1:3:end,:)) & ~isnan(M(1:3:end,:)); end | |
10 | ||
11 | er = eucl_dist_only(normalize_cut(M0), normalize_cut(M), I); |
Note: See TracBrowser
for help on using the repository browser.