没有合适的资源?快使用搜索试试~ 我知道了~
CGimagetech工业相机开发手册v1.2
3星 · 超过75%的资源 需积分: 50 52 下载量 169 浏览量
2017-10-23
20:07:44
上传
评论 6
收藏 1.99MB PDF 举报
温馨提示
试读
104页
CGimagetech工业相机开发手册v1.2,包含各版本编程语言demo
资源推荐
资源详情
资源评论
CGimagetech
超光图像技术
工业相机开发手册
1.2 版本
CGimagetech Inc.
目录
工业相机开发手册 ....................................................................................................................0
简介 ........................................................................................................................................5
声明 ........................................................................................................................................5
1 概述 .....................................................................................................................................6
1.1 文件结构 ......................................................................................................................6
1.2 开发环境 ......................................................................................................................7
2 快速开发指南 .....................................................................................................................8
2.1 相机开发流程概述 ......................................................................................................8
2.2 开发例程 ................................................................................................................... 11
3 SDK 数据类型定义 .......................................................................................................... 15
3.1 结构体定义 ............................................................................................................... 15
EnumDeviceParam ...................................................................................................... 15
DeviceMediaType ........................................................................................................ 15
DeviceFrameSpeed...................................................................................................... 16
DeviceROISize .............................................................................................................. 16
DeviceResolutionItem ................................................................................................. 17
ResolutionParam ......................................................................................................... 17
DeviceFrameInfo ......................................................................................................... 17
DeviceImageSizeRange................................................................................................ 18
DeviceSoftTriggerFrameRange .................................................................................... 18
DeviceRGBGainRange.................................................................................................. 19
DeviceGainRange ........................................................................................................ 20
DeviceSaturationRange ............................................................................................... 20
DeviceGammaRange ................................................................................................... 20
DeviceContrastRange .................................................................................................. 21
DeviceExposureRange ................................................................................................. 21
DeviceCapability .......................................................................................................... 21
3.2 参数类型定义 ........................................................................................................... 23
DeviceStatus ................................................................................................................ 23
emOpenDeviceFlag ..................................................................................................... 24
emDeviceDataType ..................................................................................................... 24
emDeviceCaptureMode .............................................................................................. 25
emDeviceFrameSpeed ................................................................................................ 25
emDSFileType .............................................................................................................. 25
emMirrorDirection ...................................................................................................... 26
第 1 页
CGimagetech Inc.
emResolutionType ...................................................................................................... 26
emParameterTeam ..................................................................................................... 26
ReceiveFrameProc ....................................................................................................... 27
EnumDeviceFunc ......................................................................................................... 27
4 SDK 接口函数说明(C/C++ VB Delphi C#通用) ................................................................. 29
4.1 DeviceGetSDKVersion ............................................................................................... 29
4.2 DeviceAddReference ................................................................................................. 30
4.3 DeviceRelease ........................................................................................................... 30
4.4 CloseDevice ............................................................................................................... 31
4.5 GetDeviceAddress ..................................................................................................... 31
4.6 GetDeviceHandle ....................................................................................................... 32
4.7 WriteSerialNumber ................................................................................................... 33
4.8 ReadSerialNumber .................................................................................................... 34
4.9 DeviceCreateSettingPage .......................................................................................... 35
4.10 DeviceShowSettingPage .......................................................................................... 36
4.11 IsMonochromeDevice ............................................................................................. 36
4.12 DeviceInit ................................................................................................................. 37
4.13 DeviceInitEx ............................................................................................................. 38
4.14 DeviceUnInit ............................................................................................................ 39
4.15 Start ......................................................................................................................... 40
4.16 Stop ......................................................................................................................... 40
4.17 IsReceivingData ....................................................................................................... 41
4.18 DeviceISP ................................................................................................................. 41
4.19 DeviceDisplayRGB24 ............................................................................................... 42
4.20 DeviceSetDisplaySize ............................................................................................... 43
4.21 SnapShot ................................................................................................................. 44
4.22 GetCapability ........................................................................................................... 45
4.23 GetImageSize ........................................................................................................... 46
4.24 GetResolutions ........................................................................................................ 47
4.25 SetResolution .......................................................................................................... 48
4.26 GetResolution .......................................................................................................... 49
4.27 SetMediaType ......................................................................................................... 49
4.28 GetMediaType ......................................................................................................... 50
4.29 SetFrameSpeed ....................................................................................................... 51
4.30 GetFrameSpeed ....................................................................................................... 52
4.31 SetFrameSpeedTune ............................................................................................... 53
4.32 GetFrameSpeedTune............................................................................................... 53
第 2 页
CGimagetech Inc.
4.33 SetCaptureMode ..................................................................................................... 54
4.34 GetCaptureMode .................................................................................................... 55
4.35 SetSoftTriggerFrameNumber .................................................................................. 56
4.36 GetSoftTriggerFrameNumber ................................................................................. 57
4.37 SoftTriggerOnce ...................................................................................................... 57
4.38 SetExposureTime ..................................................................................................... 58
4.39 GetExposureTime .................................................................................................... 59
4.40 SetAutoExposureTarget .......................................................................................... 60
4.41 GetAutoExposureTarget .......................................................................................... 61
4.42 SetGain .................................................................................................................... 61
4.43 GetGain ................................................................................................................... 62
4.44 SetAnalogGain ......................................................................................................... 63
4.45 GetAnalogGain ........................................................................................................ 64
4.46 SetGammaState ...................................................................................................... 65
4.47 GetGammaState ...................................................................................................... 66
4.48 SetGamma ............................................................................................................... 66
4.49 GetGamma .............................................................................................................. 67
4.50 SetBrightState ......................................................................................................... 68
4.51 GetBrightState ......................................................................................................... 69
4.52 SetBright .................................................................................................................. 69
4.53 GetBright ................................................................................................................. 70
4.54 SetContrastState ..................................................................................................... 71
4.55 GetContrastState ..................................................................................................... 72
4.56 SetContrast .............................................................................................................. 73
4.57 GetContrast ............................................................................................................. 73
4.58 SetSaturationState .................................................................................................. 74
4.59 GetSaturationState .................................................................................................. 75
4.60 SetSaturation ........................................................................................................... 76
4.61 GetSaturation .......................................................................................................... 76
4.62 SetMirror ................................................................................................................. 77
4.63 GetMirror ................................................................................................................ 78
4.64 SetMonochrome ..................................................................................................... 79
4.65 GetMonochrome ..................................................................................................... 80
4.66 SetInverse ................................................................................................................ 81
4.67 GetInverse ............................................................................................................... 81
4.68 SetOnceWBalace ..................................................................................................... 82
4.69 SetAutoExposureState ............................................................................................ 83
第 3 页
CGimagetech Inc.
4.70 GetAutoExposureState ............................................................................................ 84
4.71 SetAutoWBalaceState ............................................................................................. 84
4.72 GetAutoWBalaceState ............................................................................................. 85
4.73 CaptureFile .............................................................................................................. 86
4.74 StartRecordVideo .................................................................................................... 87
4.75 StopRecordVideo ..................................................................................................... 87
4.76 LoadDefaultParameter ............................................................................................ 88
4.77 GetCurrentParameterTeam .................................................................................... 89
4.78 ReadParameter ....................................................................................................... 90
4.79 SaveParameter ........................................................................................................ 90
4.80 CreateDeviceFactoryHandle .................................................................................... 91
4.81 DeviceFactoryAddReference ................................................................................... 92
4.82 DeviceFactoryRelease ............................................................................................. 93
4.83 SmartOpenDevice ................................................................................................... 93
4.84 OpenDevice ............................................................................................................. 94
4.85 SyncCloseDevice ...................................................................................................... 95
4.86 EnumDevice ............................................................................................................. 96
5 Halcon 开发指导 .............................................................................................................. 98
5.1 HDevelop 中进行开发 .............................................................................................. 98
6 集成后发布相机安装文件 ............................................................................................ 102
7 技术支持 ........................................................................................................................ 103
第 4 页
剩余103页未读,继续阅读
资源评论
- Boris-B哥2018-07-20有Java版本的不
- qq_310459392019-03-27没注意是个PDF 还以为有SDK
马上去学习
- 粉丝: 3
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功