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
0c241990
Commit
0c241990
authored
Apr 07, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #628 from berak:ximgproc_fix_delete
parents
bf461d1a
a9d1ab47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
graphsegmentation.cpp
modules/ximgproc/src/graphsegmentation.cpp
+4
-4
No files found.
modules/ximgproc/src/graphsegmentation.cpp
View file @
0c241990
...
...
@@ -244,7 +244,7 @@ namespace cv {
}
}
free
(
thresholds
)
;
delete
[]
thresholds
;
}
void
GraphSegmentationImpl
::
filterSmallAreas
(
Edge
*
edges
,
const
int
&
nb_edges
,
PointSet
*
es
)
{
...
...
@@ -300,7 +300,7 @@ namespace cv {
}
}
free
(
mapped_id
)
;
delete
[]
mapped_id
;
}
void
GraphSegmentationImpl
::
processImage
(
InputArray
src
,
OutputArray
dst
)
{
...
...
@@ -332,7 +332,7 @@ namespace cv {
// Map to final output
finalMapping
(
es
,
output
);
free
(
edges
)
;
delete
[]
edges
;
delete
es
;
}
...
...
@@ -359,7 +359,7 @@ namespace cv {
}
PointSet
::~
PointSet
()
{
free
(
mapping
)
;
delete
[]
mapping
;
}
int
PointSet
::
getBasePoint
(
int
p
)
{
...
...
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