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
3e071491
Commit
3e071491
authored
Jan 02, 2014
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added Affine3 ctor from array
parent
baee8c3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
affine.hpp
modules/core/include/opencv2/core/affine.hpp
+7
-0
No files found.
modules/core/include/opencv2/core/affine.hpp
View file @
3e071491
...
...
@@ -73,6 +73,9 @@ namespace cv
//Combines all contructors above. Supports 4x4, 3x3, 1x3, 3x1 sizes of data matrix
explicit
Affine3
(
const
cv
::
Mat
&
data
,
const
Vec3
&
t
=
Vec3
::
all
(
0
));
//From 16th element array
Affine3
(
const
float_type
*
vals
);
static
Affine3
Identity
();
//Rotation matrix
...
...
@@ -183,6 +186,10 @@ cv::Affine3<T>::Affine3(const cv::Mat& data, const Vec3& t)
matrix
.
val
[
15
]
=
1
;
}
template
<
typename
T
>
inline
cv
::
Affine3
<
T
>::
Affine3
(
const
float_type
*
vals
)
:
matrix
(
vals
)
{}
template
<
typename
T
>
inline
cv
::
Affine3
<
T
>
cv
::
Affine3
<
T
>::
Identity
()
{
...
...
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