Update opensfm, round OpenMVS depthmap level

pull/1225/head
Piero Toffanin 2021-01-11 10:15:15 -05:00
rodzic ad9def8a51
commit b2224e5b68
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

@ -1 +1 @@
2.3.3
2.4.0

Wyświetl plik

@ -26,4 +26,4 @@ scikit-learn==0.23.2
scikit-image==0.17.2
scipy==1.5.4
xmltodict==0.12.0
fpdf2==2.2.0rc2

Wyświetl plik

@ -41,7 +41,7 @@ class ODMOpenMVSStage(types.ODM_Stage):
if outputs["undist_image_max_size"] <= depthmap_resolution:
resolution_level = 0
else:
resolution_level = math.floor(math.log(outputs['undist_image_max_size'] / float(depthmap_resolution)) / math.log(2))
resolution_level = int(round(math.log(outputs['undist_image_max_size'] / float(depthmap_resolution)) / math.log(2)))
config = [
" --resolution-level %s" % int(resolution_level),