📄 configc.m.back
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -