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
b31293c9
Commit
b31293c9
authored
Jul 30, 2013
by
Andrey Pavlenko
Committed by
OpenCV Buildbot
Jul 30, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1194 from SpecLad:no-const-inputarray
parents
cd62f9f7
31de2833
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
imgproc.hpp
modules/imgproc/include/opencv2/imgproc.hpp
+3
-3
lsd.cpp
modules/imgproc/src/lsd.cpp
+3
-3
No files found.
modules/imgproc/include/opencv2/imgproc.hpp
View file @
b31293c9
...
...
@@ -859,7 +859,7 @@ public:
* * 1 corresponds to 0.1 mean false alarms
* This vector will be calculated _only_ when the objects type is REFINE_ADV
*/
virtual
void
detect
(
const
InputArray
_image
,
OutputArray
_lines
,
virtual
void
detect
(
InputArray
_image
,
OutputArray
_lines
,
OutputArray
width
=
noArray
(),
OutputArray
prec
=
noArray
(),
OutputArray
nfa
=
noArray
())
=
0
;
...
...
@@ -870,7 +870,7 @@ public:
* Should have the size of the image, where the lines were found
* @param lines The lines that need to be drawn
*/
virtual
void
drawSegments
(
InputOutputArray
image
,
const
InputArray
lines
)
=
0
;
virtual
void
drawSegments
(
InputOutputArray
image
,
InputArray
lines
)
=
0
;
/**
* Draw both vectors on the image canvas. Uses blue for lines 1 and red for lines 2.
...
...
@@ -881,7 +881,7 @@ public:
* @param lines2 The second lines that need to be drawn. Color - Red.
* @return The number of mismatching pixels between lines1 and lines2.
*/
virtual
int
compareSegments
(
const
Size
&
size
,
const
InputArray
lines1
,
const
InputArray
lines2
,
Mat
*
image
=
0
)
=
0
;
virtual
int
compareSegments
(
const
Size
&
size
,
InputArray
lines1
,
InputArray
lines2
,
Mat
*
image
=
0
)
=
0
;
virtual
~
LineSegmentDetector
()
{};
};
...
...
modules/imgproc/src/lsd.cpp
View file @
b31293c9
...
...
@@ -205,7 +205,7 @@ public:
* * 1 corresponds to 0.1 mean false alarms
* This vector will be calculated _only_ when the objects type is REFINE_ADV
*/
void
detect
(
const
InputArray
_image
,
OutputArray
_lines
,
void
detect
(
InputArray
_image
,
OutputArray
_lines
,
OutputArray
width
=
noArray
(),
OutputArray
prec
=
noArray
(),
OutputArray
nfa
=
noArray
());
...
...
@@ -216,7 +216,7 @@ public:
* Should have the size of the image, where the lines were found
* @param lines The lines that need to be drawn
*/
void
drawSegments
(
InputOutputArray
image
,
const
InputArray
lines
);
void
drawSegments
(
InputOutputArray
image
,
InputArray
lines
);
/**
* Draw both vectors on the image canvas. Uses blue for lines 1 and red for lines 2.
...
...
@@ -227,7 +227,7 @@ public:
* @param lines2 The second lines that need to be drawn. Color - Red.
* @return The number of mismatching pixels between lines1 and lines2.
*/
int
compareSegments
(
const
Size
&
size
,
const
InputArray
lines1
,
const
InputArray
lines2
,
Mat
*
image
=
0
);
int
compareSegments
(
const
Size
&
size
,
InputArray
lines1
,
InputArray
lines2
,
Mat
*
image
=
0
);
private
:
Mat
image
;
...
...
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