没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论













dev_update_off ()
dev_close_window ()
str := 'C:/Users/Administrator/Desktop/测试图片库/'
filePath := str + '标定板-原图.bmp'
read_image (Image1, filePath)
rgb1_to_gray (Image1, Image)
* write_image (Image, 'bmp', 0, str + '拉片-原图')
get_image_size (Image, Width, Height)
dev_open_window (0, 0, Width/4, Height/4, 'black', WindowHandle)
dev_display (Image)
**对图像先矫正畸变再添加畸变
* edges_sub_pix (Image, Edges, 'canny', 1, 20, 40)
* segment_contours_xld (Edges, ContoursSplit, 'lines_circles', 5, 20, 10)
* union_collinear_contours_xld (ContoursSplit, UnionContours, 10, 1, 2, 0.1, 'attr_keep')
* select_contours_xld (UnionContours, SelectedContours1, 'contour_length', 200, 1000, -0.5, 0.5)
* radial_distortion_self_calibration (SelectedContours1, SelectedContours, Width, Height, 0.08, 42, 'division', 'variable', 0, CamParamIn)
* get_domain (Image, Domain)
* change_radial_distortion_cam_par ('adaptive', CamParamIn, 0, CamParamOut)
* change_radial_distortion_image (Image, Domain, ImageCorrected, CamParamIn, CamParamOut)
* change_radial_distortion_cam_par ('adaptive', CamParamOut, -3.0e-6, CamParamOut1)
* change_radial_distortion_image (ImageCorrected, Domain, ImageDistortion1, CamParamOut, CamParamOut1)
inCameraParameters := [0,0,5.2e-006,5.2e-006,640,480,1280,960]
outCameraParameters := [0,0,5.2e-006,5.2e-006,640,480,1280,960]
get_domain (Image, Domain1)
for IndexDistortion := 1 to 6 by 1
change_radial_distortion_cam_par ('fullsize', inCameraParameters, -IndexDistortion*10000, outCameraParameters)
change_radial_distortion_image (Image, Domain1, ImageRectified, inCameraParameters, outCameraParameters)
tuple_string(IndexDistortion, '0' , temp1)
dev_close_window ()
str := 'C:/Users/Administrator/Desktop/测试图片库/'
filePath := str + '标定板-原图.bmp'
read_image (Image1, filePath)
rgb1_to_gray (Image1, Image)
* write_image (Image, 'bmp', 0, str + '拉片-原图')
get_image_size (Image, Width, Height)
dev_open_window (0, 0, Width/4, Height/4, 'black', WindowHandle)
dev_display (Image)
**对图像先矫正畸变再添加畸变
* edges_sub_pix (Image, Edges, 'canny', 1, 20, 40)
* segment_contours_xld (Edges, ContoursSplit, 'lines_circles', 5, 20, 10)
* union_collinear_contours_xld (ContoursSplit, UnionContours, 10, 1, 2, 0.1, 'attr_keep')
* select_contours_xld (UnionContours, SelectedContours1, 'contour_length', 200, 1000, -0.5, 0.5)
* radial_distortion_self_calibration (SelectedContours1, SelectedContours, Width, Height, 0.08, 42, 'division', 'variable', 0, CamParamIn)
* get_domain (Image, Domain)
* change_radial_distortion_cam_par ('adaptive', CamParamIn, 0, CamParamOut)
* change_radial_distortion_image (Image, Domain, ImageCorrected, CamParamIn, CamParamOut)
* change_radial_distortion_cam_par ('adaptive', CamParamOut, -3.0e-6, CamParamOut1)
* change_radial_distortion_image (ImageCorrected, Domain, ImageDistortion1, CamParamOut, CamParamOut1)
inCameraParameters := [0,0,5.2e-006,5.2e-006,640,480,1280,960]
outCameraParameters := [0,0,5.2e-006,5.2e-006,640,480,1280,960]
get_domain (Image, Domain1)
for IndexDistortion := 1 to 6 by 1
change_radial_distortion_cam_par ('fullsize', inCameraParameters, -IndexDistortion*10000, outCameraParameters)
change_radial_distortion_image (Image, Domain1, ImageRectified, inCameraParameters, outCameraParameters)
tuple_string(IndexDistortion, '0' , temp1)
资源评论

- 利奇邦2018-08-29参考参考。。。。。
- 不鸣~2019-02-20没啥用、、、、、、、、
- 工控视觉,深度学习专攻2018-01-23不错的资料谢谢楼主。。。。。
- Chandler_Z2018-01-02一般一般一般

nitu63
- 粉丝: 1
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 中小企业网络推广方案策划范文复习课程------.pdf
- 实训4-1防火墙与网络隔离技术.doc
- hplc测定蛋白质含量方法验证.pptx
- 基于图像的敏感信息识别
- 消防通信指挥车方案.doc
- 网络沟通技巧.docx
- 2023年全国大学生物联网设计竞赛模板.docx
- 奕福茶叶网络营销策划书.doc
- 基于AT89C51单片机的智能水表设计2.doc
- 项目管理(第1部分).ppt
- 酒店无线网络设计方案.doc
- 十分钟了解区块链.pptx
- 以太网接口设计方案样本.doc
- 2023年8月福师离线作业计算机应用基础期末试卷.doc
- 物流网络的构造和库存管理.pptx
- 网络整合教学模式市公开课一等奖百校联赛优质课金奖名师赛课获奖课件.ppt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
