Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenCV
opencv
提交
259c39a6
O
opencv
项目概览
OpenCV
/
opencv
上一次同步 大约 1 年
通知
1005
Star
71102
Fork
55580
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
259c39a6
编写于
10月 02, 2021
作者:
S
Suleyman TURKMEN
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
additional changes
上级
9b768727
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
7 addition
and
4 deletion
+7
-4
modules/imgproc/include/opencv2/imgproc.hpp
modules/imgproc/include/opencv2/imgproc.hpp
+5
-2
modules/imgproc/src/lsd.cpp
modules/imgproc/src/lsd.cpp
+2
-2
未找到文件。
modules/imgproc/include/opencv2/imgproc.hpp
浏览文件 @
259c39a6
...
@@ -1228,6 +1228,9 @@ An example using the LineSegmentDetector
...
@@ -1228,6 +1228,9 @@ An example using the LineSegmentDetector
/** @brief Line segment detector class
/** @brief Line segment detector class
following the algorithm described at @cite Rafael12 .
following the algorithm described at @cite Rafael12 .
@note Implementation has been removed from OpenCV version 3.4.6 to 3.4.15 and version 4.1.0 to 4.5.3 due original code license conflict.
restored again after [Computation of a NFA](https://github.com/rafael-grompone-von-gioi/binomial_nfa) code published under the MIT license.
*/
*/
class
CV_EXPORTS_W
LineSegmentDetector
:
public
Algorithm
class
CV_EXPORTS_W
LineSegmentDetector
:
public
Algorithm
{
{
...
@@ -1241,8 +1244,8 @@ public:
...
@@ -1241,8 +1244,8 @@ public:
@param image A grayscale (CV_8UC1) input image. If only a roi needs to be selected, use:
@param image A grayscale (CV_8UC1) input image. If only a roi needs to be selected, use:
`lsd_ptr-\>detect(image(roi), lines, ...); lines += Scalar(roi.x, roi.y, roi.x, roi.y);`
`lsd_ptr-\>detect(image(roi), lines, ...); lines += Scalar(roi.x, roi.y, roi.x, roi.y);`
@param lines A vector of Vec4
i or Vec4
f elements specifying the beginning and ending point of a line. Where
@param lines A vector of Vec4f elements specifying the beginning and ending point of a line. Where
Vec4
i/Vec4
f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. Returned lines are strictly
Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end. Returned lines are strictly
oriented depending on the gradient.
oriented depending on the gradient.
@param width Vector of widths of the regions, where the lines are found. E.g. Width of line.
@param width Vector of widths of the regions, where the lines are found. E.g. Width of line.
@param prec Vector of precisions with which the lines are found.
@param prec Vector of precisions with which the lines are found.
...
...
modules/imgproc/src/lsd.cpp
浏览文件 @
259c39a6
...
@@ -191,8 +191,8 @@ public:
...
@@ -191,8 +191,8 @@ public:
* If only a roi needs to be selected, use
* If only a roi needs to be selected, use
* lsd_ptr->detect(image(roi), ..., lines);
* lsd_ptr->detect(image(roi), ..., lines);
* lines += Scalar(roi.x, roi.y, roi.x, roi.y);
* lines += Scalar(roi.x, roi.y, roi.x, roi.y);
* @param _lines Return: A vector of Vec4
i or Vec4
f elements specifying the beginning and ending point of a line.
* @param _lines Return: A vector of Vec4f elements specifying the beginning and ending point of a line.
* Where Vec4
i/Vec4
f is (x1, y1, x2, y2), point 1 is the start, point 2 - end.
* Where Vec4f is (x1, y1, x2, y2), point 1 is the start, point 2 - end.
* Returned lines are strictly oriented depending on the gradient.
* Returned lines are strictly oriented depending on the gradient.
* @param width Return: Vector of widths of the regions, where the lines are found. E.g. Width of line.
* @param width Return: Vector of widths of the regions, where the lines are found. E.g. Width of line.
* @param prec Return: Vector of precisions with which the lines are found.
* @param prec Return: Vector of precisions with which the lines are found.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录