From 266b360b359bc2b3a022e156f00b455fb07a922f Mon Sep 17 00:00:00 2001 From: Shuo Zhong Date: Tue, 16 Jul 2024 17:34:44 -0400 Subject: [PATCH] set first octave to -1 in DSPSIFT to pair with SIFT --- opensfm/src/features/src/dspsift.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensfm/src/features/src/dspsift.cc b/opensfm/src/features/src/dspsift.cc index d9dc77dd9..3df85ca37 100644 --- a/opensfm/src/features/src/dspsift.cc +++ b/opensfm/src/features/src/dspsift.cc @@ -73,7 +73,7 @@ py::tuple dspsift(foundation::pyarray_f image, float peak_threshold, const int kMaxOctaveResolution = 1000; - vl_covdet_set_first_octave(covdet.get(), 0); + vl_covdet_set_first_octave(covdet.get(), -1); vl_covdet_set_octave_resolution(covdet.get(), 3); vl_covdet_set_peak_threshold(covdet.get(), peak_threshold); vl_covdet_set_edge_threshold(covdet.get(), edge_threshold);