| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 718b8fc commit 98e39b3
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -345,9 +345,9 @@ def sift(image, num_layers=3, contrast_threshold=0.04, edge_threshold=10.0, init | |||
| 345 | 345 | ||
| 346 | 346 | feat = Features() | |
| 347 | 347 | desc = Array() | |
| 348 | - safe_call(af_sift(c_pointer(feat), c_pointer(desc), | ||
| 349 | - image.arr, num_layers, contrast_threshold, edge_threshold, | ||
| 350 | - initial_sigma, double_input, intensity_scale, feature_ratio)) | ||
| 348 | + safe_call(backend.get().af_sift(c_pointer(feat.feat), c_pointer(desc.arr), | ||
| 349 | + image.arr, num_layers, c_float_t(contrast_threshold), c_float_t(edge_threshold), | ||
| 350 | + c_float_t(initial_sigma), double_input, c_float_t(intensity_scale), c_float_t(feature_ratio))) | ||
| 351 | 351 | ||
| 352 | 352 | return (feat, desc) | |
| 353 | 353 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments