FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
arrayfire/src/api/cpp/homography.cpp at feature/optional-graphics · arrayfire/arrayfire · GitHub
arrayfire
arrayfire
Repository navigation
Code
Issues
292
(292)
Pull requests
39
(39)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
arrayfire
/
src
/
api
/
cpp
/
homography.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (23 loc) · 945 Bytes
Breadcrumbs
arrayfire
/
src
/
api
/
cpp
/
homography.cpp
Copy path
File metadata and controls
28 lines (23 loc) · 945 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
******************************************************
* Copyright (c) 2015, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
*******************************************************
*/
#
include
<
af/array.h
>
#
include
<
af/vision.h
>
#
include
"
error.hpp
"
namespace
af
{
void
homography
(array &H,
int
&inliers,
const
array &x_src,
const
array &y_src,
const
array &x_dst,
const
array &y_dst,
const
af_homography_type htype,
const
float
inlier_thr,
const
unsigned
iterations,
const
af::dtype otype) {
af_array outH;
AF_THROW
(
af_homography
(&outH, &inliers, x_src.
get
(), y_src.
get
(),
x_dst.
get
(), y_dst.
get
(), htype, inlier_thr,
iterations, otype));
H =
array
(outH);
}
}
//
namespace af
Back
|
FazBrowse Home
|
New Git URL