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.
- _py4dgeo.cp39-win_amd64.pyd +0 -0
- py4dgeo/__init__.py +17 -3
- py4dgeo/cloudcompare.py +3 -5
- py4dgeo/epoch.py +493 -37
- py4dgeo/fallback.py +6 -6
- py4dgeo/m3c2.py +81 -16
- py4dgeo/m3c2ep.py +855 -0
- py4dgeo/pbm3c2.py +3870 -0
- py4dgeo/py4dgeo_python.cpp +487 -0
- py4dgeo/registration.py +474 -0
- py4dgeo/segmentation.py +112 -30
- py4dgeo/util.py +27 -36
- {py4dgeo-0.5.0.dist-info → py4dgeo-0.7.0.dist-info}/METADATA +200 -184
- py4dgeo-0.7.0.dist-info/RECORD +20 -0
- {py4dgeo-0.5.0.dist-info → py4dgeo-0.7.0.dist-info}/WHEEL +1 -1
- {py4dgeo-0.5.0.dist-info → py4dgeo-0.7.0.dist-info}/entry_points.txt +1 -0
- py4dgeo-0.7.0.dist-info/licenses/COPYING.md +17 -0
- py4dgeo/_py4dgeo.cp39-win_amd64.pyd +0 -0
- py4dgeo-0.5.0.dist-info/RECORD +0 -16
- py4dgeo-0.5.0.dist-info/top_level.txt +0 -1
- /py4dgeo/{zipfile.py → UpdateableZipFile.py} +0 -0
- {py4dgeo-0.5.0.dist-info → py4dgeo-0.7.0.dist-info/licenses}/LICENSE.md +0 -0
|
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
|
|
4
|
-
|
|
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
|
-
|
|
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": "
|
|
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 "
|
|
25
|
-
py4dgeo_params["
|
|
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"]
|