Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
32772a54
Commit
32772a54
authored
Jul 18, 2019
by
Alexander Alekhin
Committed by
Alexander Alekhin
Aug 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3.4: backported changes from 'master' branch
parent
7c96857c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
17 deletions
+23
-17
perf_undistort.cpp
modules/calib3d/perf/perf_undistort.cpp
+21
-0
cvdef.h
modules/core/include/opencv2/core/cvdef.h
+1
-1
test_ptr.cpp
modules/core/test/test_ptr.cpp
+1
-5
perf_warp.cpp
modules/imgproc/perf/perf_warp.cpp
+0
-11
No files found.
modules/calib3d/perf/perf_undistort.cpp
0 → 100644
View file @
32772a54
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "perf_precomp.hpp"
namespace
opencv_test
{
using
namespace
perf
;
PERF_TEST
(
Undistort
,
InitUndistortMap
)
{
Size
size_w_h
(
512
+
3
,
512
);
Mat
k
(
3
,
3
,
CV_32FC1
);
Mat
d
(
1
,
14
,
CV_64FC1
);
Mat
dst
(
size_w_h
,
CV_32FC2
);
declare
.
in
(
k
,
d
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
initUndistortRectifyMap
(
k
,
d
,
noArray
(),
k
,
size_w_h
,
CV_32FC2
,
dst
,
noArray
());
SANITY_CHECK_NOTHING
();
}
}
// namespace
modules/core/include/opencv2/core/cvdef.h
View file @
32772a54
...
@@ -627,7 +627,7 @@ Cv64suf;
...
@@ -627,7 +627,7 @@ Cv64suf;
\****************************************************************************************/
\****************************************************************************************/
#ifndef CV_NOEXCEPT
#ifndef CV_NOEXCEPT
# if
defined(CV_CXX11) && (!defined(_MSC_VER) || _MSC_VER > 1800)
/* MSVC 2015 and above */
# if
__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900
/*MSVS 2015*/
)
# define CV_NOEXCEPT noexcept
# define CV_NOEXCEPT noexcept
# endif
# endif
#endif
#endif
...
...
modules/core/test/test_ptr.cpp
View file @
32772a54
...
@@ -43,10 +43,6 @@
...
@@ -43,10 +43,6 @@
namespace
opencv_test
{
namespace
{
namespace
opencv_test
{
namespace
{
#if defined __clang__ && defined __APPLE__
#pragma clang diagnostic ignored "-Wself-assign-overloaded" // explicitly assigning value of variable of type '...' to itself (p1 = p1)
#endif
#ifdef GTEST_CAN_COMPARE_NULL
#ifdef GTEST_CAN_COMPARE_NULL
# define EXPECT_NULL(ptr) EXPECT_EQ(NULL, ptr)
# define EXPECT_NULL(ptr) EXPECT_EQ(NULL, ptr)
#else
#else
...
@@ -161,7 +157,7 @@ TEST(Core_Ptr, assignment)
...
@@ -161,7 +157,7 @@ TEST(Core_Ptr, assignment)
{
{
Ptr
<
Reporter
>
p1
(
new
Reporter
(
&
deleted1
));
Ptr
<
Reporter
>
p1
(
new
Reporter
(
&
deleted1
));
p1
=
p1
;
p1
=
*&
p1
;
EXPECT_FALSE
(
deleted1
);
EXPECT_FALSE
(
deleted1
);
}
}
...
...
modules/imgproc/perf/perf_warp.cpp
View file @
32772a54
...
@@ -290,15 +290,4 @@ PERF_TEST(Transform, getPerspectiveTransform_1000)
...
@@ -290,15 +290,4 @@ PERF_TEST(Transform, getPerspectiveTransform_1000)
SANITY_CHECK_NOTHING
();
SANITY_CHECK_NOTHING
();
}
}
PERF_TEST
(
Undistort
,
InitUndistortMap
)
{
Size
size_w_h
(
512
+
3
,
512
);
Mat
k
(
3
,
3
,
CV_32FC1
);
Mat
d
(
1
,
14
,
CV_64FC1
);
Mat
dst
(
size_w_h
,
CV_32FC2
);
declare
.
in
(
k
,
d
,
WARMUP_RNG
).
out
(
dst
);
TEST_CYCLE
()
initUndistortRectifyMap
(
k
,
d
,
noArray
(),
k
,
size_w_h
,
CV_32FC2
,
dst
,
noArray
());
SANITY_CHECK_NOTHING
();
}
}
// namespace
}
// namespace
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