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
0acab5db
Commit
0acab5db
authored
May 06, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #225 from vpisarev/core_fixes_part_1
fixed compile error and warning
parents
4d30d09b
9d38de38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
TrackingFunctionPF.hpp
modules/tracking/src/TrackingFunctionPF.hpp
+1
-0
gcgraph.hpp
modules/xphoto/src/gcgraph.hpp
+1
-1
No files found.
modules/tracking/src/TrackingFunctionPF.hpp
View file @
0acab5db
...
...
@@ -9,6 +9,7 @@ namespace cv{
public
:
TrackingFunctionPF
(
const
Mat
&
chosenRect
);
void
update
(
const
Mat
&
image
);
int
getDims
()
const
{
return
4
;
}
double
calc
(
const
double
*
x
)
const
;
void
correctParams
(
double
*
pt
)
const
;
private
:
...
...
modules/xphoto/src/gcgraph.hpp
View file @
0acab5db
...
...
@@ -254,7 +254,7 @@ TWeight GCGraph<TWeight>::maxFlow()
minWeight
=
MIN
(
minWeight
,
weight
);
CV_Assert
(
minWeight
>
0
);
}
weight
=
abs
(
TWeight
(
v
->
weight
)
);
weight
=
std
::
abs
(
TWeight
(
v
->
weight
)
);
minWeight
=
MIN
(
minWeight
,
weight
);
CV_Assert
(
minWeight
>
0
);
}
...
...
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