configc.m.back
上传用户:kellyonhid
上传日期:2013-10-12
资源大小:932k
文件大小:3k
- 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 DKCST5
- if 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;
- end
- if 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;
- end
- if 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;
- end
- 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;
- 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;
- end
- if 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;
- end
- error('Unknown camera type')