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
54d71a24
Commit
54d71a24
authored
Jul 07, 2014
by
vbystricky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extract imgcodecs module from highgui
parent
3bf743e6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
test_reg.cpp
modules/reg/test/test_reg.cpp
+1
-1
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/test/test_reg.cpp
View file @
54d71a24
...
...
@@ -42,7 +42,7 @@
//M*/
#include "test_precomp.hpp"
#include <opencv2/
highgui
.hpp>
#include <opencv2/
imgcodecs
.hpp>
#include <opencv2/core.hpp>
#include "opencv2/reg/mapaffine.hpp"
...
...
modules/tracking/test/test_trackerSRE.cpp
View file @
54d71a24
...
...
@@ -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 @
54d71a24
...
...
@@ -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