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
6640846e
Commit
6640846e
authored
Oct 22, 2013
by
Roman Donchenko
Committed by
OpenCV Buildbot
Oct 22, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1653 from jlblancoc:master
parents
1e556e08
80e667b6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
87 additions
and
6 deletions
+87
-6
ImfAcesFile.cpp
3rdparty/openexr/IlmImf/ImfAcesFile.cpp
+1
-0
ImfOutputFile.cpp
3rdparty/openexr/IlmImf/ImfOutputFile.cpp
+1
-0
ImfScanLineInputFile.cpp
3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
+1
-0
ImfTiledMisc.cpp
3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
+1
-0
ImfTiledOutputFile.cpp
3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp
+1
-0
ImathMatrixAlgo.cpp
3rdparty/openexr/Imath/ImathMatrixAlgo.cpp
+1
-0
fix_msvc2013_errors.patch
3rdparty/openexr/fix_msvc2013_errors.patch
+72
-0
features2d_init.cpp
modules/features2d/src/features2d_init.cpp
+1
-1
orb.cpp
modules/features2d/src/orb.cpp
+8
-5
No files found.
3rdparty/openexr/IlmImf/ImfAcesFile.cpp
View file @
6640846e
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include <ImfRgbaFile.h>
#include <ImfRgbaFile.h>
#include <ImfStandardAttributes.h>
#include <ImfStandardAttributes.h>
#include <Iex.h>
#include <Iex.h>
#include <algorithm> // for std::max()
using
namespace
std
;
using
namespace
std
;
using
namespace
Imath
;
using
namespace
Imath
;
...
...
3rdparty/openexr/IlmImf/ImfOutputFile.cpp
View file @
6640846e
...
@@ -58,6 +58,7 @@
...
@@ -58,6 +58,7 @@
#include <vector>
#include <vector>
#include <fstream>
#include <fstream>
#include <assert.h>
#include <assert.h>
#include <algorithm> // for std::max()
namespace
Imf
{
namespace
Imf
{
...
...
3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
View file @
6640846e
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
#include <string>
#include <string>
#include <vector>
#include <vector>
#include <assert.h>
#include <assert.h>
#include <algorithm> // for std::max()
namespace
Imf
{
namespace
Imf
{
...
...
3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
View file @
6640846e
...
@@ -43,6 +43,7 @@
...
@@ -43,6 +43,7 @@
#include "Iex.h"
#include "Iex.h"
#include <ImfMisc.h>
#include <ImfMisc.h>
#include <ImfChannelList.h>
#include <ImfChannelList.h>
#include <algorithm> // for std::max()
namespace
Imf
{
namespace
Imf
{
...
...
3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp
View file @
6640846e
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
#include <fstream>
#include <fstream>
#include <assert.h>
#include <assert.h>
#include <map>
#include <map>
#include <algorithm> // for std::max()
namespace
Imf
{
namespace
Imf
{
...
...
3rdparty/openexr/Imath/ImathMatrixAlgo.cpp
View file @
6640846e
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
#include "ImathMatrixAlgo.h"
#include "ImathMatrixAlgo.h"
#include <cmath>
#include <cmath>
#include <algorithm> // for std::max()
#if defined(OPENEXR_DLL)
#if defined(OPENEXR_DLL)
#define EXPORT_CONST __declspec(dllexport)
#define EXPORT_CONST __declspec(dllexport)
...
...
3rdparty/openexr/fix_msvc2013_errors.patch
0 → 100644
View file @
6640846e
diff --git a/3rdparty/openexr/IlmImf/ImfAcesFile.cpp b/3rdparty/openexr/IlmImf/ImfAcesFile.cpp
index de4bf83..9418b9d 100644
--- a/3rdparty/openexr/IlmImf/ImfAcesFile.cpp
+++ b/3rdparty/openexr/IlmImf/ImfAcesFile.cpp
@@ -42,6 +42,7 @@
#include <ImfRgbaFile.h>
#include <ImfStandardAttributes.h>
#include <Iex.h>
+#include <algorithm> // for std::max()
using namespace std;
using namespace Imath;
diff --git a/3rdparty/openexr/IlmImf/ImfOutputFile.cpp b/3rdparty/openexr/IlmImf/ImfOutputFile.cpp
index 8831ec9..e69b92b 100644
--- a/3rdparty/openexr/IlmImf/ImfOutputFile.cpp
+++ b/3rdparty/openexr/IlmImf/ImfOutputFile.cpp
@@ -58,6 +58,7 @@
#include <vector>
#include <fstream>
#include <assert.h>
+#include <algorithm> // for std::max()
namespace Imf {
diff --git a/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp b/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
index f7a12a3..5d8b522 100644
--- a/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
+++ b/3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp
@@ -56,6 +56,7 @@
#include <string>
#include <vector>
#include <assert.h>
+#include <algorithm> // for std::max()
namespace Imf {
diff --git a/3rdparty/openexr/IlmImf/ImfTiledMisc.cpp b/3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
index 57f52f1..9588e78 100644
--- a/3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
+++ b/3rdparty/openexr/IlmImf/ImfTiledMisc.cpp
@@ -43,6 +43,7 @@
#include "Iex.h"
#include <ImfMisc.h>
#include <ImfChannelList.h>
+#include <algorithm> // for std::max()
namespace Imf {
diff --git a/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp b/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp
index 0882106..0bc3cb3 100644
--- a/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp
+++ b/3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp
@@ -63,6 +63,7 @@
#include <fstream>
#include <assert.h>
#include <map>
+#include <algorithm> // for std::max()
namespace Imf {
diff --git a/3rdparty/openexr/Imath/ImathMatrixAlgo.cpp b/3rdparty/openexr/Imath/ImathMatrixAlgo.cpp
index f0d2ed6..7ddc649 100644
--- a/3rdparty/openexr/Imath/ImathMatrixAlgo.cpp
+++ b/3rdparty/openexr/Imath/ImathMatrixAlgo.cpp
@@ -44,6 +44,7 @@
#include "ImathMatrixAlgo.h"
#include <cmath>
+#include <algorithm> // for std::max()
#if defined(OPENEXR_DLL)
#define EXPORT_CONST __declspec(dllexport)
modules/features2d/src/features2d_init.cpp
View file @
6640846e
...
@@ -176,7 +176,7 @@ CV_INIT_ALGORITHM(DenseFeatureDetector, "Feature2D.Dense",
...
@@ -176,7 +176,7 @@ CV_INIT_ALGORITHM(DenseFeatureDetector, "Feature2D.Dense",
obj
.
info
()
->
addParam
(
obj
,
"varyImgBoundWithScale"
,
obj
.
varyImgBoundWithScale
));
obj
.
info
()
->
addParam
(
obj
,
"varyImgBoundWithScale"
,
obj
.
varyImgBoundWithScale
));
CV_INIT_ALGORITHM
(
GridAdaptedFeatureDetector
,
"Feature2D.Grid"
,
CV_INIT_ALGORITHM
(
GridAdaptedFeatureDetector
,
"Feature2D.Grid"
,
obj
.
info
()
->
addParam
(
obj
,
"detector"
,
obj
.
detector
);
obj
.
info
()
->
addParam
<
FeatureDetector
>
(
obj
,
"detector"
,
obj
.
detector
,
false
,
0
,
0
);
// Extra params added to avoid VS2013 fatal error in opencv2/core.hpp (decl. of addParam)
obj
.
info
()
->
addParam
(
obj
,
"maxTotalKeypoints"
,
obj
.
maxTotalKeypoints
);
obj
.
info
()
->
addParam
(
obj
,
"maxTotalKeypoints"
,
obj
.
maxTotalKeypoints
);
obj
.
info
()
->
addParam
(
obj
,
"gridRows"
,
obj
.
gridRows
);
obj
.
info
()
->
addParam
(
obj
,
"gridRows"
,
obj
.
gridRows
);
obj
.
info
()
->
addParam
(
obj
,
"gridCols"
,
obj
.
gridCols
));
obj
.
info
()
->
addParam
(
obj
,
"gridCols"
,
obj
.
gridCols
));
...
...
modules/features2d/src/orb.cpp
View file @
6640846e
...
@@ -138,13 +138,16 @@ static void computeOrbDescriptor(const KeyPoint& kpt,
...
@@ -138,13 +138,16 @@ static void computeOrbDescriptor(const KeyPoint& kpt,
const
uchar
*
center
=
&
img
.
at
<
uchar
>
(
cvRound
(
kpt
.
pt
.
y
),
cvRound
(
kpt
.
pt
.
x
));
const
uchar
*
center
=
&
img
.
at
<
uchar
>
(
cvRound
(
kpt
.
pt
.
y
),
cvRound
(
kpt
.
pt
.
x
));
int
step
=
(
int
)
img
.
step
;
int
step
=
(
int
)
img
.
step
;
#if 1
#define GET_VALUE(idx) \
center[cvRound(pattern[idx].x*b + pattern[idx].y*a)*step + \
cvRound(pattern[idx].x*a - pattern[idx].y*b)]
#else
float
x
,
y
;
float
x
,
y
;
int
ix
,
iy
;
int
ix
,
iy
;
#if 1
#define GET_VALUE(idx) \
(x = pattern[idx].x*a - pattern[idx].y*b, \
y = pattern[idx].x*b + pattern[idx].y*a, \
ix = cvRound(x), \
iy = cvRound(y), \
*(center + iy*step + ix) )
#else
#define GET_VALUE(idx) \
#define GET_VALUE(idx) \
(x = pattern[idx].x*a - pattern[idx].y*b, \
(x = pattern[idx].x*a - pattern[idx].y*b, \
y = pattern[idx].x*b + pattern[idx].y*a, \
y = pattern[idx].x*b + pattern[idx].y*a, \
...
...
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