资源简介
MATLAB单双目标定工具箱,使用命令calib_gui,stereo_gui

代码片段和文件信息
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3558 2013-10-10 08:46 Toolbox_calib\add_suppress.m
文件 817 2013-10-10 08:46 Toolbox_calib\affine.m
文件 572 2013-10-10 08:46 Toolbox_calib\align_structures.m
文件 4100 2013-10-10 08:46 Toolbox_calib\analyse_error.m
文件 1487 2013-10-10 08:46 Toolbox_calib\anisdiff.m
文件 1578 2013-10-10 08:46 Toolbox_calib\apply_distortion.m
文件 2033 2013-10-10 08:46 Toolbox_calib\apply_distortion2.m
文件 1360 2013-10-10 08:46 Toolbox_calib\apply_fisheye_distortion.m
文件 267 2015-10-15 06:31 Toolbox_calib\calib.m
文件 168166 2008-02-28 12:38 Toolbox_calib\calibration_pattern\pattern.eps
文件 4869 2008-02-28 12:38 Toolbox_calib\calibration_pattern\pattern.pdf
文件 1358 2015-10-15 06:31 Toolbox_calib\calib_gui.m
文件 1519 2013-10-10 08:47 Toolbox_calib\calib_gui_fisheye.m
文件 1446 2013-10-10 08:47 Toolbox_calib\calib_gui_normal.m
文件 1463 2013-10-10 08:47 Toolbox_calib\calib_gui_no_read.m
文件 18472 2013-10-10 08:47 Toolbox_calib\calib_stereo.m
文件 3912 2017-06-02 01:30 Toolbox_calib\cam_proj_calib.m
文件 2546 2013-10-10 08:47 Toolbox_calib\cam_proj_calib_optim.m
文件 1527 2013-10-10 08:47 Toolbox_calib\cam_proj_extract_param.m
文件 3511 2013-10-10 08:47 Toolbox_calib\centercirclefinder.m
文件 937 2015-10-15 05:57 Toolbox_calib\check_active_images.m
文件 642 2013-10-10 08:47 Toolbox_calib\check_convergence.m
文件 4768 2013-10-10 08:47 Toolbox_calib\check_directory.m
文件 863 2013-10-10 08:47 Toolbox_calib\check_extracted_images.m
文件 420 2013-10-10 08:47 Toolbox_calib\clearwin.m
文件 101 2013-10-10 08:47 Toolbox_calib\clear_windows.m
文件 4978 2013-10-10 08:47 Toolbox_calib\click_calib.m
文件 6350 2013-10-10 08:47 Toolbox_calib\click_calib_fisheye_no_read.m
文件 6314 2013-10-10 08:47 Toolbox_calib\click_calib_no_read.m
文件 8904 2013-10-10 08:47 Toolbox_calib\click_ima_calib.m
............此处省略163个文件信息
- 上一篇:分数阶PID的matlab工具箱
- 下一篇:DVR.mdl
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论