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
36178bc9
Commit
36178bc9
authored
Jul 10, 2014
by
Andrey Pavlenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32 from vbystricky/highgui_imgcodecs
parents
a6a79957
a164e625
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
map_test.cpp
modules/reg/samples/map_test.cpp
+2
-0
test_trackerSRE.cpp
modules/tracking/test/test_trackerSRE.cpp
+8
-8
precomp.hpp
modules/xobjdetect/src/precomp.hpp
+1
-1
No files found.
modules/reg/samples/map_test.cpp
View file @
36178bc9
...
...
@@ -38,10 +38,12 @@
#include <iostream>
#define _USE_MATH_DEFINES
#include <cmath>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp> // OpenCV window I/O
#include <opencv2/imgproc.hpp> // OpenCV image transformations
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/types_c.h>
#include <opencv2/imgcodecs/imgcodecs_c.h>
#include <opencv2/highgui/highgui_c.h>
#ifdef COMPARE_FEATURES
...
...
modules/tracking/test/test_trackerSRE.cpp
View file @
36178bc9
...
...
@@ -343,32 +343,32 @@ void TrackerSRETest::checkDataTest()
break
;
case
5
:
//corner shift top-left
bb
.
x
=
(
int
)
r
ound
(
bb
.
x
-
0.1
*
bb
.
width
);
bb
.
y
=
(
int
)
r
ound
(
bb
.
y
-
0.1
*
bb
.
height
);
bb
.
x
=
(
int
)
cvR
ound
(
bb
.
x
-
0.1
*
bb
.
width
);
bb
.
y
=
(
int
)
cvR
ound
(
bb
.
y
-
0.1
*
bb
.
height
);
bb
.
width
=
xLimit
-
bb
.
x
+
1
;
bb
.
height
=
yLimit
-
bb
.
y
+
1
;
break
;
case
6
:
//corner shift top-right
xLimit
=
(
int
)
r
ound
(
xLimit
+
0.1
*
bb
.
width
);
xLimit
=
(
int
)
cvR
ound
(
xLimit
+
0.1
*
bb
.
width
);
bb
.
y
=
(
int
)
r
ound
(
bb
.
y
-
0.1
*
bb
.
height
);
bb
.
y
=
(
int
)
cvR
ound
(
bb
.
y
-
0.1
*
bb
.
height
);
bb
.
width
=
xLimit
-
bb
.
x
+
1
;
bb
.
height
=
yLimit
-
bb
.
y
+
1
;
break
;
case
7
:
//corner shift bottom-left
bb
.
x
=
(
int
)
r
ound
(
bb
.
x
-
0.1
*
bb
.
width
);
yLimit
=
(
int
)
r
ound
(
yLimit
+
0.1
*
bb
.
height
);
bb
.
x
=
(
int
)
cvR
ound
(
bb
.
x
-
0.1
*
bb
.
width
);
yLimit
=
(
int
)
cvR
ound
(
yLimit
+
0.1
*
bb
.
height
);
bb
.
width
=
xLimit
-
bb
.
x
+
1
;
bb
.
height
=
yLimit
-
bb
.
y
+
1
;
break
;
case
8
:
//corner shift bottom-right
xLimit
=
(
int
)
r
ound
(
xLimit
+
0.1
*
bb
.
width
);
yLimit
=
(
int
)
r
ound
(
yLimit
+
0.1
*
bb
.
height
);
xLimit
=
(
int
)
cvR
ound
(
xLimit
+
0.1
*
bb
.
width
);
yLimit
=
(
int
)
cvR
ound
(
yLimit
+
0.1
*
bb
.
height
);
bb
.
width
=
xLimit
-
bb
.
x
+
1
;
bb
.
height
=
yLimit
-
bb
.
y
+
1
;
...
...
modules/xobjdetect/src/precomp.hpp
View file @
36178bc9
...
...
@@ -48,7 +48,7 @@ the use of this software, even if advised of the possibility of such damage.
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc/types_c.h>
#include <opencv2/
highgui
.hpp>
#include <opencv2/
imgcodecs
.hpp>
#include <algorithm>
#include <cmath>
...
...
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