Changeset 810 for trunk/src/toolbox_calib
- Timestamp:
- Aug 13, 2014, 3:01:27 AM (10 years ago)
- Location:
- trunk/src/toolbox_calib
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/toolbox_calib/check_active_images.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 if n_ima ~= 0, 2 20 -
trunk/src/toolbox_calib/check_directory.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 % This small script looks in the direcory and checks if the images are there. 2 20 % -
trunk/src/toolbox_calib/check_extracted_images.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 check_active_images; 2 20 -
trunk/src/toolbox_calib/click_calib.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %if exist('images_read'); 2 20 % active_images = active_images & images_read; -
trunk/src/toolbox_calib/comp_distortion_oulu.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [x] = comp_distortion_oulu(xd,k); 2 20 -
trunk/src/toolbox_calib/comp_error_calib.m
r732 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %%%%%%%%%%%%%%%%%%%% RECOMPUTES THE REPROJECTION ERROR %%%%%%%%%%%%%%%%%%%%%%%% 2 20 -
trunk/src/toolbox_calib/comp_ext_calib.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %%% Computes the extrinsic parameters for all the active calibration images 2 20 -
trunk/src/toolbox_calib/compute_extrinsic.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [omckk,Tckk,Rckk,H,x,ex,JJ] = compute_extrinsic(x_kk,X_kk,fc,cc,kc,alpha_c,MaxIter,thresh_cond), 2 20 -
trunk/src/toolbox_calib/compute_extrinsic_init.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [omckk,Tckk,Rckk] = compute_extrinsic_init(x_kk,X_kk,fc,cc,kc,alpha_c), 2 20 -
trunk/src/toolbox_calib/compute_extrinsic_refine.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [omckk,Tckk,Rckk,JJ] = compute_extrinsic_refine(omc_init,Tc_init,x_kk,X_kk,fc,cc,kc,alpha_c,MaxIter,thresh_cond), 2 20 -
trunk/src/toolbox_calib/compute_homography.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [H,Hnorm,inv_Hnorm] = compute_homography(m,M); 2 20 -
trunk/src/toolbox_calib/data_calib.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %%% This script alets the user enter the name of the images (base name, numbering scheme,... 2 20 -
trunk/src/toolbox_calib/extract_parameters.m
r734 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 1 18 2 19 %%% Extraction of the final intrinsic and extrinsic paramaters: -
trunk/src/toolbox_calib/go_calib_optim.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %go_calib_optim 2 20 % -
trunk/src/toolbox_calib/go_calib_optim_iter.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %go_calib_optim_iter 2 20 % -
trunk/src/toolbox_calib/ima_read_calib.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 1 18 2 19 if ~exist('calib_name')|~exist('format_image'), -
trunk/src/toolbox_calib/init_intrinsic_param.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 %init_intrinsic_param 2 20 % -
trunk/src/toolbox_calib/is3D.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function test = is3D(X), 2 20 -
trunk/src/toolbox_calib/mosaic.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 1 18 2 19 if ~exist('I_1'), -
trunk/src/toolbox_calib/normalize_pixel.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [xn] = normalize_pixel(x_kk,fc,cc,kc,alpha_c) 2 20 -
trunk/src/toolbox_calib/project_points2.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [xp,dxpdom,dxpdT,dxpdf,dxpdc,dxpdk,dxpdalpha] = project_points2(X,om,T,f,c,k,alpha) 2 20 -
trunk/src/toolbox_calib/rigid_motion.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [Y,dYdom,dYdT] = rigid_motion(X,om,T); 2 20 -
trunk/src/toolbox_calib/rodrigues.m
r725 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function [out,dout]=rodrigues(in) 2 20
Note: See TracChangeset
for help on using the changeset viewer.