point_distribution.m
来自「matlab的标定工具箱」· M 代码 · 共 46 行
M
46 行
% Point Distribution
colors = 'brgkcm';
if ~exist('n_ima')|~exist('fc'),
fprintf(1,'No calibration data available.\n');
return;
end;
check_active_images;
if ~exist(['ex_' num2str(ind_active(1)) ]),
fprintf(1,'Need to calibrate before analysing reprojection error. Maybe need to load Calib_Results.mat file.\n');
return;
end;
figure(6);
for kk=1:n_ima
if exist(['x_' num2str(kk)]),
if active_images(kk) & eval(['~isnan(x_' num2str(kk) '(1,1))']),
eval(['plot(x_' num2str(kk) '(1,:),x_' num2str(kk) '(2,:),''' colors(rem(kk-1,6)+1) '+'');']);
hold on;
end;
end;
end;
axis('equal');
axis([0 nx 0 ny]);
title1=pwd;
title1=strrep(title1,'_','\_');
title({'Point Distribution in Images',title1});
xlabel('x');
ylabel('y');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?