configc.m.back

来自「本系统采用VC开发.可实现点云数据的处理,图像缩放,生成曲面.」· BACK 代码 · 共 120 行

BACK
120
字号
function sys=configc(name)%CONFIGC Loads system configuration information based on given name. %User may edit here new setup data.if strcmp(name,'DKCST5')  sys = [      2560,    %number of pixels in horizontal direction      2048,    %number of pixels in vertical direction      7.5,     %effective CCD chip size in horizontal direction      6,       %effective CCD chip size in vertical direction      12.5,    %nominal focal length      11,      %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;end%%% Half-size DKCST5if strcmp(name,'DKCST5_2')  sys = [      1280,    %number of pixels in horizontal direction      1024,    %number of pixels in vertical direction      7.5,     %effective CCD chip size in horizontal direction      6,       %effective CCD chip size in vertical direction      12.5,    %nominal focal length      11,      %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;endif strcmp(name,'DKC5000')  sys = [      1520,    %number of pixels in horizontal direction      1144,    %number of pixels in vertical direction      6.3840,  %effective CCD chip size in horizontal direction      4.8048,  %effective CCD chip size in vertical direction      25.0,    %nominal focal length      2,       %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;endif strcmp(name,'Toshiba')  sys = [      640,     %number of pixels in horizontal direction      480,     %number of pixels in vertical direction      4.8,     %effective CCD chip size in horizontal direction      3.6,     %effective CCD chip size in vertical direction      20.0,    %nominal focal length      3,       %radius of the circular control points      0,       %for future expansions      0,      0,      abs(name)'  ];  return;endif 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;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;endif strcmp(name,'generic')  sys = [      640,     %number of pixels in horizontal direction      480,     %number of pixels in vertical direction      6.3840,  %effective CCD chip size in horizontal direction      4.8048,  %effective CCD chip size in vertical direction      8,       %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 + -
显示快捷键?