diff --git a/opendm/point_cloud.py b/opendm/point_cloud.py index 364ab1ea..91d3e791 100644 --- a/opendm/point_cloud.py +++ b/opendm/point_cloud.py @@ -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: