kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
3bef377cea
commit
38cf16f6c9
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue