py4dgeo 0.5.0__cp39-cp39-win_amd64.whl → 0.7.0__cp39-cp39-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
py4dgeo/__init__.py CHANGED
@@ -1,7 +1,19 @@
1
1
  from py4dgeo.logger import set_py4dgeo_logfile
2
2
  from py4dgeo.cloudcompare import CloudCompareM3C2
3
- from py4dgeo.epoch import Epoch, read_from_las, read_from_xyz, save_epoch, load_epoch
4
- from py4dgeo.m3c2 import M3C2
3
+ from py4dgeo.epoch import (
4
+ Epoch,
5
+ read_from_las,
6
+ read_from_xyz,
7
+ save_epoch,
8
+ load_epoch,
9
+ )
10
+ from py4dgeo.m3c2 import M3C2, write_m3c2_results_to_las
11
+ from py4dgeo.m3c2ep import M3C2EP
12
+ from py4dgeo.registration import (
13
+ iterative_closest_point,
14
+ point_to_plane_icp,
15
+ icp_with_stable_areas,
16
+ )
5
17
  from py4dgeo.segmentation import (
6
18
  RegionGrowingAlgorithm,
7
19
  SpatiotemporalAnalysis,
@@ -10,9 +22,11 @@ from py4dgeo.segmentation import (
10
22
  )
11
23
  from py4dgeo.util import (
12
24
  __version__,
13
- ensure_test_data_availability,
25
+ find_file,
14
26
  MemoryPolicy,
15
27
  set_memory_policy,
16
28
  get_num_threads,
17
29
  set_num_threads,
18
30
  )
31
+
32
+ from py4dgeo.pbm3c2 import *
py4dgeo/cloudcompare.py CHANGED
@@ -5,7 +5,7 @@ _cloudcompare_param_mapping = {
5
5
  "normalscale": "normal_radii",
6
6
  "registrationerror": "reg_error",
7
7
  "searchdepth": "max_distance",
8
- "searchscale": "cyl_radii",
8
+ "searchscale": "cyl_radius",
9
9
  "usemedian": "robust_aggr",
10
10
  }
11
11
 
@@ -21,10 +21,8 @@ class CloudCompareM3C2(M3C2):
21
21
  # Apply changes that are not a mere renaming
22
22
 
23
23
  # Scale parameters are diameters in CloudCompare and radii in py4dgeo
24
- if "cyl_radii" in py4dgeo_params:
25
- py4dgeo_params["cyl_radii"] = tuple(
26
- 0.5 * r for r in py4dgeo_params["cyl_radii"]
27
- )
24
+ if "cyl_radius" in py4dgeo_params:
25
+ py4dgeo_params["cyl_radius"] = py4dgeo_params["cyl_radius"] * 0.5
28
26
  if "normal_radii" in py4dgeo_params:
29
27
  py4dgeo_params["normal_radii"] = tuple(
30
28
  0.5 * r for r in py4dgeo_params["normal_radii"]