Skip to content

Commit

Permalink
Cleanup DSP SIFT implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Oct 29, 2023
1 parent ed4a2ec commit 90f52f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions opensfm/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,9 +552,10 @@ def extract_features_dspsift(

points, desc = pyfeatures.dspsift(
image.astype(np.float32) / 255, # VlFeat expects pixel values between 0, 1
peak_threshold=0.0066666666666666671, # config["sift_peak_threshold"],
edge_threshold=config["sift_edge_threshold"],
peak_threshold=0.0066666666666666671,
edge_threshold=10,
target_num_features=features_count,
feature_root=bool(config["feature_root"]),
estimate_affine_shape=False,
)

Expand Down

0 comments on commit 90f52f0

Please sign in to comment.