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
ae81006e
Commit
ae81006e
authored
Oct 15, 2014
by
Boaz Stolk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied proposed fix
parent
047abb00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
test_affine3d_estimator.cpp
modules/calib3d/test/test_affine3d_estimator.cpp
+3
-3
test_estimaterigid.cpp
modules/video/test/test_estimaterigid.cpp
+2
-2
No files found.
modules/calib3d/test/test_affine3d_estimator.cpp
View file @
ae81006e
...
...
@@ -80,9 +80,9 @@ struct WrapAff
WrapAff
(
const
Mat
&
aff
)
:
F
(
aff
.
ptr
<
double
>
())
{}
Point3f
operator
()(
const
Point3f
&
p
)
{
return
Point3
d
(
p
.
x
*
F
[
0
]
+
p
.
y
*
F
[
1
]
+
p
.
z
*
F
[
2
]
+
F
[
3
]
,
p
.
x
*
F
[
4
]
+
p
.
y
*
F
[
5
]
+
p
.
z
*
F
[
6
]
+
F
[
7
]
,
p
.
x
*
F
[
8
]
+
p
.
y
*
F
[
9
]
+
p
.
z
*
F
[
10
]
+
F
[
11
]
);
return
Point3
f
(
(
float
)(
p
.
x
*
F
[
0
]
+
p
.
y
*
F
[
1
]
+
p
.
z
*
F
[
2
]
+
F
[
3
])
,
(
float
)(
p
.
x
*
F
[
4
]
+
p
.
y
*
F
[
5
]
+
p
.
z
*
F
[
6
]
+
F
[
7
])
,
(
float
)(
p
.
x
*
F
[
8
]
+
p
.
y
*
F
[
9
]
+
p
.
z
*
F
[
10
]
+
F
[
11
])
);
}
};
...
...
modules/video/test/test_estimaterigid.cpp
View file @
ae81006e
...
...
@@ -75,8 +75,8 @@ struct WrapAff2D
WrapAff2D
(
const
Mat
&
aff
)
:
F
(
aff
.
ptr
<
double
>
())
{}
Point2f
operator
()(
const
Point2f
&
p
)
{
return
Point2
d
(
p
.
x
*
F
[
0
]
+
p
.
y
*
F
[
1
]
+
F
[
2
]
,
p
.
x
*
F
[
3
]
+
p
.
y
*
F
[
4
]
+
F
[
5
]
);
return
Point2
f
(
(
float
)(
p
.
x
*
F
[
0
]
+
p
.
y
*
F
[
1
]
+
F
[
2
])
,
(
float
)(
p
.
x
*
F
[
3
]
+
p
.
y
*
F
[
4
]
+
F
[
5
])
);
}
};
...
...
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