Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
22c8010b
Commit
22c8010b
authored
Jul 14, 2013
by
Daniel Angelov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added needed header, changed macro name.
parent
3350533f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
imgproc.hpp
modules/imgproc/include/opencv2/imgproc.hpp
+0
-0
lsd.cpp
modules/imgproc/src/lsd.cpp
+0
-3
test_lsd.cpp
modules/imgproc/test/test_lsd.cpp
+0
-0
lsd_lines.cpp
samples/cpp/lsd_lines.cpp
+2
-1
No files found.
modules/imgproc/include/opencv2/imgproc.hpp
View file @
22c8010b
modules/imgproc/src/lsd.cpp
View file @
22c8010b
...
...
@@ -308,11 +308,8 @@ void LSD::flsd(std::vector<Vec4i>& lines,
// {
// region.data[reg[i].x + reg[i].y * width] = ls_count;
// }
}
}
}
void
LSD
::
ll_angle
(
const
double
&
threshold
,
const
unsigned
int
&
n_bins
,
std
::
vector
<
coorlist
>&
list
)
...
...
modules/imgproc/test/test_lsd.cpp
View file @
22c8010b
samples/cpp/lsd_lines.cpp
View file @
22c8010b
...
...
@@ -2,6 +2,7 @@
#include <string>
#include "opencv2/core/core.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
...
...
@@ -18,7 +19,7 @@ int main(int argc, char** argv)
std
::
string
in
=
argv
[
1
];
Mat
image
=
imread
(
in
,
CV_LOAD_IMAGE
_GRAYSCALE
);
Mat
image
=
imread
(
in
,
IMREAD
_GRAYSCALE
);
// Create and LSD detector with std refinement.
LSD
lsd_std
(
LSD_REFINE_STD
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment