Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
9ca6b9b2
Commit
9ca6b9b2
authored
Apr 02, 2020
by
Pavel Rojtberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rapid: fix wrapping around at end of 2D contour
parent
bf0075a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rapid.cpp
modules/rapid/src/rapid.cpp
+1
-1
No files found.
modules/rapid/src/rapid.cpp
View file @
9ca6b9b2
...
...
@@ -55,7 +55,7 @@ public:
// close the loop
idx
.
push_back
(
idx
[
0
]);
cum_dist
.
resize
(
i
pts2d
.
rows
);
cum_dist
.
resize
(
i
dx
.
size
()
);
perimeter
=
0.0
f
;
for
(
size_t
i
=
1
;
i
<
idx
.
size
();
i
++
)
{
...
...
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