kopia lustrzana https://github.com/OpenDroneMap/ODM
Fix bug when pc-sample is zero
rodzic
868e1b92b0
commit
dd9748d192
|
@ -76,12 +76,6 @@ def filter(input_point_cloud, output_point_cloud, standard_deviation=2.5, meank=
|
|||
log.ODM_ERROR("{} does not exist. The program will now exit.".format(input_point_cloud))
|
||||
sys.exit(1)
|
||||
|
||||
if (standard_deviation <= 0 or meank <= 0) and sample_radius <= 0:
|
||||
log.ODM_INFO("Skipping point cloud filtering")
|
||||
# if using the option `--pc-filter 0`, we need copy input_point_cloud
|
||||
shutil.copy(input_point_cloud, output_point_cloud)
|
||||
return
|
||||
|
||||
filters = []
|
||||
|
||||
if sample_radius > 0:
|
||||
|
|
Ładowanie…
Reference in New Issue