Removed max-vertex-25d parameter

pull/542/head
Piero Toffanin 2017-04-17 17:48:01 -04:00
rodzic 9f4da6271d
commit 10b25e735f
3 zmienionych plików z 1 dodań i 13 usunięć

Wyświetl plik

@ -252,16 +252,6 @@ def config():
'times slightly but helps reduce memory usage. '
'Default: %(default)s'))
parser.add_argument('--25d-mesh-size',
metavar='<positive integer>',
default=50000,
type=int,
help=('The maximum vertex count of the 2.5D output mesh '
'Smaller values produce smoother orthophotos but '
'could introduce distortion '
'Applies to 2.5D mesh only. '
'Default: %(default)s'))
parser.add_argument('--mesh-wlop-iterations',
metavar='<positive integer>',
default=70,

Wyświetl plik

@ -58,7 +58,6 @@ class ODMApp(ecto.BlackBox):
oct_tree=p.args.mesh_octree_depth,
samples=p.args.mesh_samples,
solver=p.args.mesh_solver_divide,
max_vertex_25d=getattr(p.args, '25d_mesh_size'),
wlop_iterations=p.args.mesh_wlop_iterations,
verbose=p.args.verbose),
'texturing': ODMMvsTexCell(data_term=p.args.texturing_data_term,

Wyświetl plik

@ -20,7 +20,6 @@ class ODMeshingCell(ecto.Cell):
'Increasing this value increases computation '
'times slightly but helps reduce memory usage.', 9)
params.declare("max_vertex_25d", 'The maximum vertex count of the 2.5D output mesh.', 50000)
params.declare("wlop_iterations", 'Iterations of the Weighted Locally Optimal Projection (WLOP) simplification algorithm. '
'Higher values take longer but produce a smoother mesh. '
'Applies to 2.5D mesh only. ', 70)
@ -94,7 +93,7 @@ class ODMeshingCell(ecto.Cell):
'infile': infile,
'log': tree.odm_25dmeshing_log,
'verbose': verbose,
'max_vertex': self.params.max_vertex_25d,
'max_vertex': self.params.max_vertex,
'wlop_iterations': self.params.wlop_iterations
}