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
1576e24c
Commit
1576e24c
authored
Jun 26, 2014
by
Roman Donchenko
Committed by
OpenCV Buildbot
Jun 26, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2672 from a-wi:findContours
parents
e89e3066
59250e82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
contours.cpp
modules/imgproc/src/contours.cpp
+4
-0
No files found.
modules/imgproc/src/contours.cpp
View file @
1576e24c
...
...
@@ -1703,6 +1703,10 @@ cvFindContours( void* img, CvMemStorage* storage,
void
cv
::
findContours
(
InputOutputArray
_image
,
OutputArrayOfArrays
_contours
,
OutputArray
_hierarchy
,
int
mode
,
int
method
,
Point
offset
)
{
// Sanity check: output must be of type vector<vector<Point>>
CV_Assert
(
_contours
.
kind
()
==
_InputArray
::
STD_VECTOR_VECTOR
&&
_contours
.
channels
()
==
2
&&
_contours
.
depth
()
==
CV_32S
);
Mat
image
=
_image
.
getMat
();
MemStorage
storage
(
cvCreateMemStorage
());
CvMat
_cimage
=
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