文件名称:halcon--correct-a-rectangle
介绍说明--下载内容均来自于网络,请自行研究使用
我在学习halcon11的过程中,买不起教程,于是自己狂啃example。这个投影变换的例子简单高效,普适性强。所以毫无保留地贡献出来,与君共享!-When I was studying Halcon software,I was too poor to buy some tutorials.So,here is one of my best explanation of one wonderful example, which is universal for many circumstances.plz enjoy the codes!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
¥¥$$¥¥(可以拿来工整棋盘)例:如何用xld的投影变换,将照片中的四边形(足球场)工整地展示出来
...............................................................................................\(待确认)(椭圆方向)我的洞察:椭圆方向由长半轴决定,长半(主)轴最左的端点到最右的端点的方向即是。(故phi的取值范围应该是-90°到+90°)-(注意主轴垂直的情况±90°都可以,我觉得该取默认90°!).txt
...............................................................................................\QQ截图20160523111211.jpg
...............................................................................................\QQ截图20160523232949.jpg
...............................................................................................\bundary算子.jpg
...............................................................................................\dev_set_colored 和dev_set_color区别:一个填数字,一个填颜色.jpg
...............................................................................................\dev_set_window_extents().jpg
...............................................................................................\fit_line_contour_xld算子---文中line segment=线段.jpg
...............................................................................................\fit_line_contour_xld补充.jpg
...............................................................................................\intersection_lines()算子.jpg
...............................................................................................\regress_contour_xld.jpg
...............................................................................................\sort_index().jpg
...............................................................................................\vector_to_proj_hom_mat2d.hdev
...............................................................................................\(自己总结,仅仅对此例子来说)xy坐标系与窗口宽高(横Col纵Row)的关系及vector_to_proj_hom_mat2d()的四个顶点的排列排列方向.jpg
...............................................................................................\¥¥¥$$$¥¥¥select_shape_xld( phi_points )筛选方向的宝贵经验.jpg