当前位置:网站首页>Summary and common applications of direction and angle operators in Halcon

Summary and common applications of direction and angle operators in Halcon

2022-06-30 07:42:00 Wheat field CR7

The angle interval of the operator output is [-π,π)   The operators of are :orientation_region   

The angle interval of the operator output is (-π/2,π/2] The operators of are :smallest_rectangle2 ,  line_orientation,elliptic_axis             


The angle is usually used to extend the line or Region affine transformation, etc

Example 1     It is known that α∈ [-π,π), If the starting point is (row0,col0), Seeking edge α Directional extension length Point after length (row1,col1)

row1:=row0+cos(α+1.5708)*length

col1:=col0+sin(α+1.5708)*length



原网站

版权声明
本文为[Wheat field CR7]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202160538495203.html