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 (none), 14 years ago

Added original make3d

File size: 314 bytes
Line 
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
7function er = eucl_dist(M0, M, I)
8
9if nargin < 3, I = ~isnan(M0(1:3:end,:)) & ~isnan(M(1:3:end,:)); end
10
11er = eucl_dist_only(normalize_cut(M0), normalize_cut(M), I);
Note: See TracBrowser for help on using the repository browser.