-
Notifications
You must be signed in to change notification settings - Fork 886
Add SIFT GPU support #623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cojosef96
wants to merge
31
commits into
mapillary:main
Choose a base branch
from
cojosef96:sift_gpu
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add SIFT GPU support #623
Changes from 22 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
925a794
added SIFT_GPU support based on pyopencl and silx packages.
Oburshan 9fc4b9f
added some changes in matching and feature detection for better perfo…
Oburshan c2e31e6
added sift_gpu parameters to the config.
Oburshan 98e9f73
changed test_sift_gpu.py file
Oburshan 5975669
test
Oburshan 0c97d34
changed test_sift_gpu.py file
cojosef96 06414ba
changed gitignore
cojosef96 ca8947f
deleted unnecessary things
cojosef96 982b13d
added information to the readme.md file
cojosef96 ed5abf4
added readme pictures
cojosef96 4a5d2b9
fixed readme
cojosef96 d2a700a
added readme pictures
cojosef96 b58b18d
changed the readme.md
cojosef96 2445387
Merge branch 'master' into sift_gpu
cojosef96 66168c3
added csfm.so
cojosef96 2b98651
Merge remote-tracking branch 'github_opensfm/sift_gpu' into sift_gpu
cojosef96 3a8c888
Update features.py
cojosef96 58748f9
Merge pull request #1 from cojosef96/sift_gpu_v0.4.0
cojosef96 3949738
Update .gitignore
cojosef96 2b5d059
Update features.py
cojosef96 4b6e49e
Merge pull request #2 from cojosef96/sift_gpu_v0.4.0
cojosef96 cb4a7d4
Merge pull request #3 from cojosef96/sift_gpu_v0.4.0
cojosef96 22367d0
Update matching.py
cojosef96 1092790
added try except for the case of import error of silx library
cojosef96 35d91a6
added function that convert p1,f1 to gpu_keypoints (k1). change the m…
cojosef96 a3dae4f
tested the matching implementation of SIFT_GPU now it works without e…
cojosef96 4958f5a
tested the import error problem
cojosef96 14abded
remove all debug changes, now its the same as the original repository
cojosef96 f9acc6b
Merge pull request #4 from cojosef96/sift_gpu_v0.4.0
cojosef96 f465ef0
changed the requirements and returned the original opensfm_run_all file
cojosef96 8c17bb2
Merge pull request #5 from cojosef96/sift_gpu_v0.4.0
cojosef96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| set -e | ||
|
|
||
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | ||
| PYTHON=${2:-python3} | ||
| PYTHON=python2.7 | ||
|
||
|
|
||
| echo "Running using Python command: $PYTHON" | ||
|
|
||
|
|
@@ -13,5 +13,5 @@ $PYTHON $DIR/opensfm match_features $1 | |
| $PYTHON $DIR/opensfm create_tracks $1 | ||
| $PYTHON $DIR/opensfm reconstruct $1 | ||
| $PYTHON $DIR/opensfm mesh $1 | ||
| $PYTHON $DIR/opensfm undistort $1 | ||
| $PYTHON $DIR/opensfm compute_depthmaps $1 | ||
| #$PYTHON $DIR/opensfm undistort $1 | ||
| #$PYTHON $DIR/opensfm compute_depthmaps $1 | ||
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
|
|
||
| # OpenSfM will use the default parameters from opensfm/config.py | ||
| # Set here any parameter that you want to override for this dataset | ||
| # For example: | ||
| processes: 1 # Number of threads to use, SIFT_GPU does not work on parallel | ||
| depthmap_min_consistent_views: 2 # Min number of views that should reconstruct a point for it to be valid | ||
| depthmap_save_debug_files: yes # Save debug files with partial reconstruction results | ||
| feature_process_size: -1 | ||
| bundle_use_gcp: yes | ||
| feature_type: SIFT_GPU # Feature type (AKAZE, SURF, SIFT, HAHOG, ORB, SIFT_GPU) | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| { | ||
| "points": [ | ||
| { | ||
| "position": { | ||
| "latitude": 52.51926834404209, | ||
| "altitude": 14.946108041331172, | ||
| "longitude": 13.400703631118825 | ||
| }, | ||
| "id": "0", | ||
| "observations": [ | ||
| { | ||
| "projection": [ | ||
| -0.015689, | ||
| -0.0625362 | ||
| ], | ||
| "shot_id": "02.jpg" | ||
| }, | ||
| { | ||
| "projection": [ | ||
| -0.0624397, | ||
| 0.0440716 | ||
| ], | ||
| "shot_id": "03.jpg" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "id": "1", | ||
| "observations": [ | ||
| { | ||
| "projection": [ | ||
| 0.049848, | ||
| 0.144291 | ||
| ], | ||
| "shot_id": "02.jpg" | ||
| }, | ||
| { | ||
| "projection": [ | ||
| 0.0105317, | ||
| 0.244958 | ||
| ], | ||
| "shot_id": "01.jpg" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "position": { | ||
| "latitude": 52.5192651808067, | ||
| "altitude": 12.859175567515194, | ||
| "longitude": 13.400764257288497 | ||
| }, | ||
| "id": "3", | ||
| "observations": [ | ||
| { | ||
| "projection": [ | ||
| 0.0608681, | ||
| -0.00730461 | ||
| ], | ||
| "shot_id": "02.jpg" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependsnotrelay