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
9462b818
Commit
9462b818
authored
Aug 21, 2014
by
jaco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new windows compile warning fixed
parent
07e66a4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
computeSaliency.cpp
modules/saliency/samples/computeSaliency.cpp
+0
-10
No files found.
modules/saliency/samples/computeSaliency.cpp
View file @
9462b818
...
...
@@ -62,16 +62,6 @@ static void help()
<<
endl
;
}
inline
float
calcOverlap
(
Rect
a
,
Rect
b
)
{
Rect
rectIntersection
=
a
&
b
;
Rect
rectUnion
=
a
|
b
;
float
iArea
=
rectIntersection
.
width
*
rectIntersection
.
height
;
float
uArea
=
rectUnion
.
width
*
rectUnion
.
height
;
float
overlap
=
iArea
/
uArea
;
return
overlap
;
}
int
main
(
int
argc
,
char
**
argv
)
{
CommandLineParser
parser
(
argc
,
argv
,
keys
);
...
...
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