configc.m

来自「Matlab code of toolbox of camera calibra」· M 代码 · 共 53 行

M
53
字号
function sys=configc(name)%CONFIGC Loads system configuration information based on given name. %User may edit here new setup data.if strcmp(name,'sony')  sys = [      768,     %number of pixels in horizontal direction      576,     %number of pixels in vertical direction      6.2031,  %effective CCD chip size in horizontal direction      4.6515,  %effective CCD chip size in vertical direction      8.5,     %nominal focal length      5,       %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;endif strcmp(name,'sonyz')  sys = [      768,     %number of pixels in horizontal direction      576,     %number of pixels in vertical direction      6.2031,  %effective CCD chip size in horizontal direction      4.6515,  %effective CCD chip size in vertical direction      8.5,     %nominal focal length      0,       %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;end      if strcmp(name,'pulnix')  sys = [      512,     %number of pixels in horizontal direction      512,     %number of pixels in vertical direction      4.3569,  %effective CCD chip size in horizontal direction      4.2496,  %effective CCD chip size in vertical direction      16,      %nominal focal length      15,      %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;enderror('Unknown camera type')

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?