Keep only best SIFT features and other fixes

pull/1664/head
Piero Toffanin 2023-06-12 21:12:13 +02:00
rodzic c2ab760dd9
commit 3a4b98a7eb
5 zmienionych plików z 9 dodań i 6 usunięć

Wyświetl plik

@ -25,7 +25,7 @@ ExternalProject_Add(${_proj_name}
#--Download step-------------- #--Download step--------------
DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} DOWNLOAD_DIR ${SB_DOWNLOAD_DIR}
GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/ GIT_REPOSITORY https://github.com/OpenDroneMap/OpenSfM/
GIT_TAG 316 GIT_TAG 319
#--Update/Patch step---------- #--Update/Patch step----------
UPDATE_COMMAND git submodule update --init --recursive UPDATE_COMMAND git submodule update --init --recursive
#--Configure step------------- #--Configure step-------------

Wyświetl plik

@ -1 +1 @@
3.1.8 3.1.9

Wyświetl plik

@ -159,7 +159,7 @@ def config(argv=None, parser=None):
action=StoreValue, action=StoreValue,
default=0, default=0,
type=int, type=int,
help='Perform image matching with the nearest N images based on image filename order. Can speed up processing of sequential images, such as those extracted from video. Set to 0 to disable. Default: %(default)s') help='Perform image matching with the nearest N images based on image filename order. Can speed up processing of sequential images, such as those extracted from video. It is applied only on non-georeferenced datasets. Set to 0 to disable. Default: %(default)s')
parser.add_argument('--use-fixed-camera-params', parser.add_argument('--use-fixed-camera-params',
action=StoreTrue, action=StoreTrue,

Wyświetl plik

@ -248,7 +248,10 @@ class OSFMContext:
] ]
if args.matcher_order > 0: if args.matcher_order > 0:
config.append("matching_order_neighbors: %s" % args.matcher_order) if not reconstruction.is_georeferenced():
config.append("matching_order_neighbors: %s" % args.matcher_order)
else:
log.ODM_WARNING("Georeferenced reconstruction, ignoring --matcher-order")
if args.camera_lens != 'auto': if args.camera_lens != 'auto':
config.append("camera_projection_type: %s" % args.camera_lens.upper()) config.append("camera_projection_type: %s" % args.camera_lens.upper())

Wyświetl plik

@ -67,14 +67,14 @@ platform="Linux" # Assumed
uname=$(uname) uname=$(uname)
case $uname in case $uname in
"Darwin") "Darwin")
platform="MacOS / OSX" platform="MacOS"
;; ;;
MINGW*) MINGW*)
platform="Windows" platform="Windows"
;; ;;
esac esac
if [[ $platform != "Linux" ]]; then if [[ $platform != "Linux" && $platform != "MacOS" ]]; then
echo "This script only works on Linux." echo "This script only works on Linux."
exit 1 exit 1
fi fi