kopia lustrzana https://github.com/OpenDroneMap/ODM
Removed max-vertex-25d parameter
rodzic
9f4da6271d
commit
10b25e735f
|
@ -252,16 +252,6 @@ def config():
|
||||||
'times slightly but helps reduce memory usage. '
|
'times slightly but helps reduce memory usage. '
|
||||||
'Default: %(default)s'))
|
'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',
|
parser.add_argument('--mesh-wlop-iterations',
|
||||||
metavar='<positive integer>',
|
metavar='<positive integer>',
|
||||||
default=70,
|
default=70,
|
||||||
|
|
|
@ -58,7 +58,6 @@ class ODMApp(ecto.BlackBox):
|
||||||
oct_tree=p.args.mesh_octree_depth,
|
oct_tree=p.args.mesh_octree_depth,
|
||||||
samples=p.args.mesh_samples,
|
samples=p.args.mesh_samples,
|
||||||
solver=p.args.mesh_solver_divide,
|
solver=p.args.mesh_solver_divide,
|
||||||
max_vertex_25d=getattr(p.args, '25d_mesh_size'),
|
|
||||||
wlop_iterations=p.args.mesh_wlop_iterations,
|
wlop_iterations=p.args.mesh_wlop_iterations,
|
||||||
verbose=p.args.verbose),
|
verbose=p.args.verbose),
|
||||||
'texturing': ODMMvsTexCell(data_term=p.args.texturing_data_term,
|
'texturing': ODMMvsTexCell(data_term=p.args.texturing_data_term,
|
||||||
|
|
|
@ -20,7 +20,6 @@ class ODMeshingCell(ecto.Cell):
|
||||||
'Increasing this value increases computation '
|
'Increasing this value increases computation '
|
||||||
'times slightly but helps reduce memory usage.', 9)
|
'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. '
|
params.declare("wlop_iterations", 'Iterations of the Weighted Locally Optimal Projection (WLOP) simplification algorithm. '
|
||||||
'Higher values take longer but produce a smoother mesh. '
|
'Higher values take longer but produce a smoother mesh. '
|
||||||
'Applies to 2.5D mesh only. ', 70)
|
'Applies to 2.5D mesh only. ', 70)
|
||||||
|
@ -94,7 +93,7 @@ class ODMeshingCell(ecto.Cell):
|
||||||
'infile': infile,
|
'infile': infile,
|
||||||
'log': tree.odm_25dmeshing_log,
|
'log': tree.odm_25dmeshing_log,
|
||||||
'verbose': verbose,
|
'verbose': verbose,
|
||||||
'max_vertex': self.params.max_vertex_25d,
|
'max_vertex': self.params.max_vertex,
|
||||||
'wlop_iterations': self.params.wlop_iterations
|
'wlop_iterations': self.params.wlop_iterations
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue