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
52b32ba8
Commit
52b32ba8
authored
Jan 30, 2013
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Jan 30, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #371 from taka-no-me:fix_build
parents
b6de1fcc
68be50bb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
_modelest.h
modules/calib3d/src/_modelest.h
+1
-1
test_modelest.cpp
modules/calib3d/test/test_modelest.cpp
+1
-1
ts.cpp
modules/ts/src/ts.cpp
+5
-1
descriptor_extractor_matcher.cpp
samples/cpp/descriptor_extractor_matcher.cpp
+1
-1
videostab.cpp
samples/cpp/videostab.cpp
+4
-0
No files found.
modules/calib3d/src/_modelest.h
View file @
52b32ba8
...
...
@@ -43,7 +43,7 @@
#ifndef _CV_MODEL_EST_H_
#define _CV_MODEL_EST_H_
#include "
precomp
.hpp"
#include "
opencv2/calib3d/calib3d
.hpp"
class
CV_EXPORTS
CvModelEstimator2
{
...
...
modules/calib3d/test/test_modelest.cpp
View file @
52b32ba8
...
...
@@ -159,7 +159,7 @@ void CV_ModelEstimator2_Test::fill_array( int test_case_idx, int i, int j, Mat&
Point2d
tangentVector_1
=
arr
.
at
<
Point2d
>
(
endPointIndex
)
-
arr
.
at
<
Point2d
>
(
startPointIndex
);
Point2d
tangentVector_2
=
arr
.
at
<
Point2d
>
(
testPointIndex
)
-
arr
.
at
<
Point2d
>
(
startPointIndex
);
const
float
eps
=
1e-4
;
const
float
eps
=
1e-4
f
;
//TODO: perhaps it is better to normalize the cross product by norms of the tangent vectors
if
(
fabs
(
tangentVector_1
.
cross
(
tangentVector_2
))
<
eps
)
{
...
...
modules/ts/src/ts.cpp
View file @
52b32ba8
...
...
@@ -47,8 +47,12 @@
#include <time.h>
#if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64
#include <io.h>
#define NOMINMAX
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#ifdef _MSC_VER
#include <eh.h>
...
...
samples/cpp/descriptor_extractor_matcher.cpp
View file @
52b32ba8
...
...
@@ -222,7 +222,7 @@ static void doIteration( const Mat& img1, Mat& img2, bool isWarpPerspective,
DrawMatchesFlags
::
DRAW_OVER_OUTIMG
|
DrawMatchesFlags
::
NOT_DRAW_SINGLE_POINTS
);
#endif
printf
(
"Number of inliers: %d
\n
"
,
countNonZero
(
matchesMask
))
;
cout
<<
"Number of inliers: "
<<
countNonZero
(
matchesMask
)
<<
endl
;
}
else
drawMatches
(
img1
,
keypoints1
,
img2
,
keypoints2
,
filteredMatches
,
drawImg
);
...
...
samples/cpp/videostab.cpp
View file @
52b32ba8
#if defined __clang__
# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
#endif
#include <string>
#include <iostream>
#include <fstream>
...
...
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