-
Notifications
You must be signed in to change notification settings - Fork 548
Expand file tree
/
Copy pathfast_pyramid.hpp
More file actions
28 lines (24 loc) · 978 Bytes
/
fast_pyramid.hpp
File metadata and controls
28 lines (24 loc) · 978 Bytes
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) 2014, 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
********************************************************/
#pragma once
#include <Array.hpp>
#include <vector>
namespace arrayfire {
namespace cuda {
template<typename T>
void fast_pyramid(std::vector<unsigned> &feat_pyr,
std::vector<Array<float>> &d_x_pyr,
std::vector<Array<float>> &d_y_pyr,
std::vector<unsigned> &lvl_best, std::vector<float> &lvl_scl,
std::vector<Array<T>> &img_pyr, const Array<T> &in,
const float fast_thr, const unsigned max_feat,
const float scl_fctr, const unsigned levels,
const unsigned patch_size);
} // namespace cuda
} // namespace arrayfire