MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / gloh

Function gloh

src/api/cpp/sift.cpp:32–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void gloh(features& feat, array& desc, const array& in, const unsigned n_layers,
33 const float contrast_thr, const float edge_thr,
34 const float init_sigma, const bool double_input,
35 const float img_scale, const float feature_ratio) {
36 af_features temp_feat;
37 af_array temp_desc = 0;
38 AF_THROW(af_gloh(&temp_feat, &temp_desc, in.get(), n_layers, contrast_thr,
39 edge_thr, init_sigma, double_input, img_scale,
40 feature_ratio));
41
42 dim_t num = 0;
43 AF_THROW(af_get_features_num(&num, temp_feat));
44 feat = features(temp_feat);
45 desc = array(temp_desc);
46}
47
48} // namespace af

Callers 1

TESTFunction · 0.85

Calls 4

af_glohFunction · 0.50
af_get_features_numFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected