资源简介
Bouguet的Matlab标定工具箱立体标定,可单目自标定及双目互标定。用法参见:http://www.vision.caltech.edu/bouguetj/calib_doc/
代码片段和文件信息
if ~exist(‘n_ima‘)
fprintf(1‘No data to process.\n‘);
return;
end;
if n_ima == 0
fprintf(1‘No image data available\n‘);
return;
end;
if ~exist(‘active_images‘)
active_images = ones(1n_ima);
end;
n_act = length(active_images);
if n_act < n_ima
active_images = [active_images ones(1n_ima-n_act)];
else
if n_act > n_ima
active_images = active_images(1:n_ima);
end;
end;
ind_active = find(active_images);
% I did not call check_active_images because I want to prevent a break
%check_active_images;
fprintf(1‘\nThis function is useful to select a subset of images to calibrate\n‘);
fprintf(1‘\nThere are currently %d active images selected for calibration (out of %d):\n‘length(ind_active)n_ima);
if ~isempty(ind_active)
if length(ind_active) > 2
for ii = 1:length(ind_active)-2
fprintf(1‘%d ‘ind_active(ii));
end;
fprintf(1‘%d and %d.‘ind_active(end-1)ind_active(end));
else
if length(ind_active) == 2
fprintf(1‘%d and %d.‘ind_active(end-1)ind_active(end));
else
fprintf(1‘%d.‘ind_active(end));
end;
end;
end;
fprintf(1‘\n‘);
if length(ind_active)==0
fprintf(1‘\nYou probably want to add images\n‘);
choice = 1;
else
if length(ind_active)==n_ima
fprintf(1‘\nYou probably want to suppress images\n‘);
choice = 0;
else
choice = 2;
end;
end;
if (choice~=0) & (choice ~=1)
fprintf(1‘\nDo you want to suppress or add images from that list?\n‘);
end;
while (choice~=0)&(choice~=1)
choice = input(‘For suppressing images enter 0 for adding images enter 1 ([]=no change): ‘);
if isempty(choice)
fprintf(1‘No change applied to the list of active images.\n‘);
return;
end;
if (choice~=0)&(choice~=1)
disp(‘Bad entry. Try again.‘);
end;
end;
if choice
ima_numbers = input(‘Number(s) of image(s) to add ([] = all images) = ‘);
if isempty(ima_numbers)
fprintf(1‘All %d images are now active\n‘n_ima);
ima_proc = 1:n_ima;
else
ima_proc = ima_numbers;
end;
else
ima_numbers = input(‘Number(s) of image(s) to suppress ([] = no image) = ‘);
if isempty(ima_numbers)
fprintf(1‘No image has been suppressed. No modication of the list of active images.\n‘n_ima);
ima_proc = [];
else
ima_proc = ima_numbers;
end;
end;
if ~isempty(ima_proc)
active_images(ima_proc) = choice * ones(1length(ima_proc));
end;
check_active_images;
fprintf(1‘\nThere is now a total of %d active images for calibration:\n‘length(ind_active));
if ~isempty(ind_active)
if length(ind_active) > 2
for ii = 1:length(ind_active)-2
fprintf(1
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-06-01 23:59 TOOLBOX_calib\
文件 1578 2013-10-10 00:47 TOOLBOX_calib\compute_epipole.m
文件 2636 2015-10-14 21:58 TOOLBOX_calib\data_calib.m
文件 2052 2013-10-10 00:50 TOOLBOX_calib\show_stereo_calib_results.m
文件 8970 2013-10-10 00:48 TOOLBOX_calib\extract_grid_manual.m
文件 1838 2017-06-01 23:56 TOOLBOX_calib\loadpgm.m
文件 168166 2008-02-28 04:38 TOOLBOX_calib\pattern.eps
文件 4978 2013-10-10 00:47 TOOLBOX_calib\click_calib.m
文件 5514 2013-10-10 00:50 TOOLBOX_calib\undistort_image.m
文件 1778 2013-10-10 00:50 TOOLBOX_calib\willson_convert.m
文件 2557 2015-10-14 22:30 TOOLBOX_calib\go_calib_optim.m
文件 230 2013-10-10 00:50 TOOLBOX_calib\rotation.m
文件 2561 2017-05-31 22:17 TOOLBOX_calib\data_calib_no_read.m
文件 2866 2013-10-10 00:47 TOOLBOX_calib\compute_extrinsic.m
文件 3912 2017-06-01 17:30 TOOLBOX_calib\cam_proj_calib.m
文件 1499 2013-10-10 00:49 TOOLBOX_calib\mosaic.m
文件 6556 2013-10-10 00:50 TOOLBOX_calib\visualize_distortions.m
文件 1198 2013-10-10 00:47 TOOLBOX_calib\compose_motion.m
文件 3558 2013-10-10 00:46 TOOLBOX_calib\add_suppress.m
文件 6043 2013-10-10 00:50 TOOLBOX_calib\saving_calib_fisheye.m
文件 2364 2013-10-10 00:50 TOOLBOX_calib\rect_index.m
文件 50 2013-10-10 00:50 TOOLBOX_calib\startup.m
文件 500 2013-10-10 00:48 TOOLBOX_calib\fov.m
文件 4768 2013-10-10 00:47 TOOLBOX_calib\check_directory.m
文件 6169 2013-10-10 00:50 TOOLBOX_calib\reproject_calib.m
文件 3533 2013-10-10 00:48 TOOLBOX_calib\compute_homography.m
文件 5628 2013-10-10 00:48 TOOLBOX_calib\ext_calib_stereo.m
文件 8970 2013-10-10 00:48 TOOLBOX_calib\extract_grid.m
文件 2289 2013-10-10 00:49 TOOLBOX_calib\merge_calibration_sets.m
文件 9096 2013-10-10 00:49 TOOLBOX_calib\project_points2.m
文件 3339 2013-10-10 00:46 TOOLBOX_calib\TestFunction.m
............此处省略159个文件信息
- 上一篇:基于MATLAB的SVD水印技术
- 下一篇:KITTI数据集 - 百度云.md
相关资源
- 基于MATLAB的SVD水印技术
- 计算关联维数的matlab程序
- 3D模拟飞机飞行matlab版GUI
- matlab_vrp
- 流形学习的matlab实现代码mani.m绝对好
- 润滑理论的matlab求解程序包括弹流和
- 3-RPS并联平台可达工作空间MATLAB求解
- AdaBoost等MatLab代码
- matlab提取多数据txt文件
- AR模型的matlab实现
- matlab实现自己的resize()函数
- 去掉Matlab运行时的黑框
- MATLABIMM交互多模型算法交互多模型算
-
单相桥式逆变器单周期控制simuli
n - sinc加窗滤波器
- 用MATLAB产生回声的源代码
- PUMA560 matlab程序
- matlab版hog+svm图像二分类
- matlab代码,通过蒙特卡罗方法计算n维
- 基于MATLAB的眼图画法
- 复杂网络幂律分布matlab仿真程序
- 轨迹跟踪---船舶航迹控制matlab程序
- 图像质量评价matlab源代码
- LFM信号模糊函数Matlab代码
- MATLAB GUI 多界面图像处理
- 小波图像融合matlab实现源代码
- 单轮abs控制 matlab仿真实现
- NSGA-II的matlab 仿真程序
- 感兴趣区域提取(ROI)matlab实现
- TDOA_AOA定位的扩展卡尔曼滤波算法MA
评论
共有 条评论