kopia lustrzana https://github.com/OpenDroneMap/ODM
Update opensfm, round OpenMVS depthmap level
rodzic
ad9def8a51
commit
b2224e5b68
|
@ -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-------------
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.3.3
|
||||
2.4.0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
|
|
Ładowanie…
Reference in New Issue