【发布时间】:2017-12-15 06:53:56
【问题描述】:
当给定的带有线条的图像被传递到 OpenCV 的 HoughLine 变换时,它会返回一个 rho 和 theta 对的列表,每对定义一条单独的线。在这个 rho,theta 对列表中,行的顺序是什么。
例如,当这个 8 行的图像在 python 中使用时, image with 8 line
接下来的 rho,theta 矩阵为八行返回。
[[ 461. 1.48352981]
[ 380. 1.48352981]
[ 212. 1.48352981]
[ 112. 1.48352981]
[ 65. 1.48352981]
[ 334. 1.48352981]
[ 269. 1.48352981]
[ 508. 1.48352981]]
在此矩阵中列出的行的顺序是如何由 openCV 确定的?
【问题讨论】:
标签: python opencv image-processing straight-line-detection houghlines