pull/249/head
edgarriba 2015-12-02 14:26:23 +00:00
rodzic f753c2e10d
commit 428c194129
3 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -37,7 +37,6 @@ class ODMGeoreferencingCell(ecto.Cell):
log.ODM_WARNING('Warning: No coordinates file. ' \
'Generating coordinates file in: %s' % coords_file)
try:
coords_file = io.join_paths(odm_georeferencing, 'coords.txt')
log_file = io.join_paths(odm_georeferencing, 'odm_texturing_utm_log.txt')
system.run('%s/odm_extract_utm -imagesPath %s/ ' \
@ -55,7 +54,7 @@ class ODMGeoreferencingCell(ecto.Cell):
log.ODM_WARNING('Found a valid coordinates file in: %s' % coords_file)
# define odm georeferencing outputs
# for convenience we'll all data put into odm_texturing
# for convenience we'll put all data into odm_texturing
model_geo = io.join_paths(odm_texturing, 'odm_textured_model_geo.obj')
pointcloud_geo = io.join_paths(odm_texturing, 'odm_textured_model_geo.ply')
system_geo = io.join_paths(odm_texturing, 'odm_textured_model_geo.txt')

Wyświetl plik

@ -34,6 +34,8 @@ class ODMeshingCell(ecto.Cell):
and args['run_only'] == 'odm_meshing'
if not io.file_exists(output_file) or rerun_cell:
log.ODM_DEBUG('Writting odm mesh file in: %s' % output_file)
# run meshing binary
system.run('%s/odm_meshing -inputFile %s -outputFile %s ' \
'-logFile %s -maxVertexCount %s -octreeDepth %s ' \

Wyświetl plik

@ -26,13 +26,14 @@ class ODMTexturingCell(ecto.Cell):
odm_texturing = io.join_paths(project_path, 'odm_texturing')
system.mkdir_p(odm_texturing)
output_file = io.join_paths(odm_meshing, 'odm_mesh.ply')
output_file = io.join_paths(odm_texturing, 'odm_textured_model.obj')
# check if we rerun cell or not
rerun_cell = args['run_only'] is not None \
and args['run_only'] == 'odm_texturing'
if not io.file_exists(output_file) or rerun_cell:
log.ODM_DEBUG('Writting odm textured file in: %s' % output_file)
# odm_texturing definitions
kwargs = {