pointtree 0.0.0__tar.gz → 0.1.0__tar.gz
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.
- {pointtree-0.0.0 → pointtree-0.1.0}/LICENSE +21 -21
- {pointtree-0.0.0/src/pointtree.egg-info → pointtree-0.1.0}/PKG-INFO +115 -114
- {pointtree-0.0.0 → pointtree-0.1.0}/README.md +35 -33
- {pointtree-0.0.0 → pointtree-0.1.0}/pyproject.toml +85 -81
- {pointtree-0.0.0 → pointtree-0.1.0}/setup.cfg +4 -4
- {pointtree-0.0.0 → pointtree-0.1.0}/setup.py +2 -2
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/config/__init__.py +5 -5
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/config/_config.py +19 -19
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/__init__.py +7 -7
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_metrics.py +233 -233
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_time_tracker.py +45 -45
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_timer.py +29 -29
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/__init__.py +8 -7
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_instance_segmentation_algorithm.py +236 -232
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_multi_stage_algorithm.py +1218 -1218
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_priority_queue.py +107 -107
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_utils.py +45 -45
- pointtree-0.1.0/src/pointtree/io/__init__.py +13 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_base_point_cloud_reader.py +88 -88
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_base_point_cloud_writer.py +90 -90
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_csv_reader.py +83 -83
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_csv_writer.py +76 -76
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_las_reader.py +103 -103
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_las_writer.py +145 -145
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_io_data.py +19 -19
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_reader.py +46 -46
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_writer.py +45 -45
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/__init__.py +12 -9
- pointtree-0.1.0/src/pointtree/operations/_cloth_simulation_filtering.py +70 -0
- pointtree-0.1.0/src/pointtree/operations/_create_digital_terrain_model.py +82 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_knn_search.py +277 -277
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_make_labels_consecutive.py +64 -64
- pointtree-0.1.0/src/pointtree/operations/_normalize_height.py +83 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_pack_batch.py +61 -61
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_ravel_index.py +121 -121
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_voxel_downsampling.py +170 -170
- pointtree-0.1.0/src/pointtree/py.typed +0 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/__init__.py +7 -7
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_color_palette.py +39 -39
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_color_point_cloud.py +107 -107
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_hex_to_rgb.py +29 -29
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_save_tree_map.py +85 -85
- {pointtree-0.0.0 → pointtree-0.1.0/src/pointtree.egg-info}/PKG-INFO +115 -114
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree.egg-info/SOURCES.txt +4 -0
- pointtree-0.1.0/src/pointtree.egg-info/requires.txt +34 -0
- pointtree-0.0.0/src/pointtree/io/__init__.py +0 -19
- pointtree-0.0.0/src/pointtree.egg-info/requires.txt +0 -34
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/__init__.py +0 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree.egg-info/dependency_links.txt +0 -0
- {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree.egg-info/top_level.txt +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Josafat-Mattias Burmeister
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Josafat-Mattias Burmeister
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,114 +1,115 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: pointtree
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: A Python Package for
|
|
5
|
-
Author-email: Josafat-Mattias Burmeister <burmeister@uni-potsdam.de>
|
|
6
|
-
Maintainer-email: Josafat-Mattias Burmeister <burmeister@uni-potsdam.de>
|
|
7
|
-
License: MIT License
|
|
8
|
-
|
|
9
|
-
Copyright (c) 2024 Josafat-Mattias Burmeister
|
|
10
|
-
|
|
11
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions:
|
|
17
|
-
|
|
18
|
-
The above copyright notice and this permission notice shall be included in all
|
|
19
|
-
copies or substantial portions of the Software.
|
|
20
|
-
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
|
28
|
-
|
|
29
|
-
Project-URL: Homepage, https://github.com/ai4trees/pointtree
|
|
30
|
-
Project-URL: Documentation, https://ai4trees.github.io/pointtree/
|
|
31
|
-
Project-URL: Repository, https://github.com/ai4trees/pointtree.git
|
|
32
|
-
Project-URL: Issues, https://github.com/ai4trees/pointtree/issues
|
|
33
|
-
Project-URL: Changelog, https://ai4trees.github.io/pointtree/changelog
|
|
34
|
-
Keywords: tree,point cloud,segmentation
|
|
35
|
-
Classifier: Development Status :: 4 - Beta
|
|
36
|
-
Classifier: Intended Audience :: Science/Research
|
|
37
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
-
Classifier: Programming Language :: Python
|
|
39
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
40
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
41
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
42
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
43
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
-
Classifier:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
Requires-Dist:
|
|
50
|
-
Requires-Dist: numba
|
|
51
|
-
Requires-Dist:
|
|
52
|
-
Requires-Dist:
|
|
53
|
-
Requires-Dist:
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist:
|
|
56
|
-
Requires-Dist: scikit-
|
|
57
|
-
Requires-Dist:
|
|
58
|
-
Requires-Dist: torch
|
|
59
|
-
Requires-Dist: torch-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Requires-Dist:
|
|
63
|
-
Requires-Dist:
|
|
64
|
-
Requires-Dist:
|
|
65
|
-
Requires-Dist:
|
|
66
|
-
Requires-Dist:
|
|
67
|
-
Requires-Dist:
|
|
68
|
-
Requires-Dist:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
Requires-Dist: sphinx; extra == "docs"
|
|
72
|
-
Requires-Dist: sphinx-
|
|
73
|
-
Requires-Dist: sphinx-
|
|
74
|
-
Requires-Dist:
|
|
75
|
-
Requires-Dist:
|
|
76
|
-
Requires-Dist:
|
|
77
|
-
Requires-Dist: sphinxcontrib-
|
|
78
|
-
Requires-Dist: sphinxcontrib-
|
|
79
|
-
Requires-Dist:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
[](https://opensource.org/licenses/MIT)
|
|
87
|
-
[](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
|
|
88
|
-
 2024 Josafat-Mattias Burmeister
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
|
|
29
|
+
Project-URL: Homepage, https://github.com/ai4trees/pointtree
|
|
30
|
+
Project-URL: Documentation, https://ai4trees.github.io/pointtree/
|
|
31
|
+
Project-URL: Repository, https://github.com/ai4trees/pointtree.git
|
|
32
|
+
Project-URL: Issues, https://github.com/ai4trees/pointtree/issues
|
|
33
|
+
Project-URL: Changelog, https://ai4trees.github.io/pointtree/changelog
|
|
34
|
+
Keywords: tree,point cloud,segmentation
|
|
35
|
+
Classifier: Development Status :: 4 - Beta
|
|
36
|
+
Classifier: Intended Audience :: Science/Research
|
|
37
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
38
|
+
Classifier: Programming Language :: Python
|
|
39
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
44
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
45
|
+
Requires-Python: >=3.9
|
|
46
|
+
Description-Content-Type: text/markdown
|
|
47
|
+
License-File: LICENSE
|
|
48
|
+
Requires-Dist: cloth-simulation-filter<2.0.0,>=1.1.5
|
|
49
|
+
Requires-Dist: laspy<3.0.0,>=2.0.0
|
|
50
|
+
Requires-Dist: numba<1.0.0,>=0.55.0
|
|
51
|
+
Requires-Dist: numba-kdtree<1.0.0,>=0.3.0
|
|
52
|
+
Requires-Dist: numpy<3.0.0,>=1.21.0
|
|
53
|
+
Requires-Dist: pandas<3.0.0,>=2.0.0
|
|
54
|
+
Requires-Dist: pyclesperanto-prototype<1.0.0,>=0.22.0
|
|
55
|
+
Requires-Dist: scipy<2.0.0,>=1.8.0
|
|
56
|
+
Requires-Dist: scikit-image<1.0.0,>=0.21.0
|
|
57
|
+
Requires-Dist: scikit-learn<2.0.0,>=1.2.0
|
|
58
|
+
Requires-Dist: torch<2.5.0,>=2.0.0
|
|
59
|
+
Requires-Dist: torch-cluster<2.0.0,>=1.6.0
|
|
60
|
+
Requires-Dist: torch-scatter<3.0.0,>=2.0.2
|
|
61
|
+
Provides-Extra: dev
|
|
62
|
+
Requires-Dist: black; extra == "dev"
|
|
63
|
+
Requires-Dist: mypy; extra == "dev"
|
|
64
|
+
Requires-Dist: pandas-stubs; extra == "dev"
|
|
65
|
+
Requires-Dist: pylint; extra == "dev"
|
|
66
|
+
Requires-Dist: pytest; extra == "dev"
|
|
67
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
68
|
+
Requires-Dist: types-Pillow; extra == "dev"
|
|
69
|
+
Provides-Extra: docs
|
|
70
|
+
Requires-Dist: sphinx; extra == "docs"
|
|
71
|
+
Requires-Dist: sphinx-copybutton; extra == "docs"
|
|
72
|
+
Requires-Dist: sphinx-design; extra == "docs"
|
|
73
|
+
Requires-Dist: sphinx-docsearch; extra == "docs"
|
|
74
|
+
Requires-Dist: sphinxawesome-theme; extra == "docs"
|
|
75
|
+
Requires-Dist: sphinx-sitemap; extra == "docs"
|
|
76
|
+
Requires-Dist: sphinxcontrib-jsmath; extra == "docs"
|
|
77
|
+
Requires-Dist: sphinxcontrib-katex; extra == "docs"
|
|
78
|
+
Requires-Dist: sphinxcontrib-napoleon; extra == "docs"
|
|
79
|
+
Requires-Dist: sphinx_mdinclude; extra == "docs"
|
|
80
|
+
|
|
81
|
+
<img src="https://github.com/ai4trees/pointtree/blob/main/docs/assets/pointtree-logo-color.png" alt="pointtree" width="300" height="100">
|
|
82
|
+
|
|
83
|
+
## A Python Package for Tree Instance Segmentation in 3D Point Clouds.
|
|
84
|
+
|
|
85
|
+

|
|
86
|
+
[](https://opensource.org/licenses/MIT)
|
|
87
|
+
[](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
|
|
88
|
+
[](https://codecov.io/github/ai4trees/pointtree?branch=main)
|
|
89
|
+

|
|
90
|
+
|
|
91
|
+
The package contains the official source code of the paper ["Burmeister, Josafat-Mattias, et al. "Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation." ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences 10 (2024): 79-86.](https://isprs-annals.copernicus.org/articles/X-4-W5-2024/79/2024/isprs-annals-X-4-W5-2024-79-2024.pdf)
|
|
92
|
+
|
|
93
|
+
### Package Documentation
|
|
94
|
+
|
|
95
|
+
The documentation of our package is available [here](https://ai4trees.github.io/pointtree/stable).
|
|
96
|
+
|
|
97
|
+
### Project Setup
|
|
98
|
+
|
|
99
|
+
The setup of our package is described in the [documentation](https://ai4trees.github.io/pointtree/stable#get-started).
|
|
100
|
+
|
|
101
|
+
### How to Cite
|
|
102
|
+
|
|
103
|
+
If you use our code, please consider citing our paper:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
@article{Burmeister_Tree_Instance_Segmentation_2024,
|
|
107
|
+
author = {Burmeister, Josafat-Mattias and Richter, Rico and Reder, Stefan and Mund, Jan-Peter and Döllner, Jürgen},
|
|
108
|
+
doi = {10.5194/isprs-annals-X-4-W5-2024-79-2024},
|
|
109
|
+
journal = {ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
|
|
110
|
+
pages = {79--86},
|
|
111
|
+
title = {{Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation}},
|
|
112
|
+
volume = {X-4/W5-2024},
|
|
113
|
+
year = {2024}
|
|
114
|
+
}
|
|
115
|
+
```
|
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
## A Python Package for
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
|
|
8
|
+
[](https://codecov.io/github/ai4trees/pointtree?branch=main)
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
The package contains the official source code of the paper ["Burmeister, Josafat-Mattias, et al. "Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation." ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences 10 (2024): 79-86.](https://isprs-annals.copernicus.org/articles/X-4-W5-2024/79/2024/isprs-annals-X-4-W5-2024-79-2024.pdf)
|
|
12
|
+
|
|
13
|
+
### Package Documentation
|
|
14
|
+
|
|
15
|
+
The documentation of our package is available [here](https://ai4trees.github.io/pointtree/stable).
|
|
16
|
+
|
|
17
|
+
### Project Setup
|
|
18
|
+
|
|
19
|
+
The setup of our package is described in the [documentation](https://ai4trees.github.io/pointtree/stable#get-started).
|
|
20
|
+
|
|
21
|
+
### How to Cite
|
|
22
|
+
|
|
23
|
+
If you use our code, please consider citing our paper:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
@article{Burmeister_Tree_Instance_Segmentation_2024,
|
|
27
|
+
author = {Burmeister, Josafat-Mattias and Richter, Rico and Reder, Stefan and Mund, Jan-Peter and Döllner, Jürgen},
|
|
28
|
+
doi = {10.5194/isprs-annals-X-4-W5-2024-79-2024},
|
|
29
|
+
journal = {ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
|
|
30
|
+
pages = {79--86},
|
|
31
|
+
title = {{Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation}},
|
|
32
|
+
volume = {X-4/W5-2024},
|
|
33
|
+
year = {2024}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
@@ -1,81 +1,85 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
requires = ["setuptools >=61.0.0", "wheel"]
|
|
3
|
-
build-backend = "setuptools.build_meta"
|
|
4
|
-
|
|
5
|
-
[project]
|
|
6
|
-
name = "pointtree"
|
|
7
|
-
version = "0.
|
|
8
|
-
authors = [
|
|
9
|
-
{name = "Josafat-Mattias Burmeister", email = "burmeister@uni-potsdam.de"},
|
|
10
|
-
]
|
|
11
|
-
maintainers = [
|
|
12
|
-
{name = "Josafat-Mattias Burmeister", email = "burmeister@uni-potsdam.de"},
|
|
13
|
-
]
|
|
14
|
-
description = "A Python Package for
|
|
15
|
-
readme = "README.md"
|
|
16
|
-
license = { file = "LICENSE" }
|
|
17
|
-
classifiers = [
|
|
18
|
-
"Development Status :: 4 - Beta",
|
|
19
|
-
"Intended Audience :: Science/Research",
|
|
20
|
-
"License :: OSI Approved :: MIT License",
|
|
21
|
-
"Programming Language :: Python",
|
|
22
|
-
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
-
"Programming Language :: Python :: 3.9",
|
|
24
|
-
"Programming Language :: Python :: 3.10",
|
|
25
|
-
"Programming Language :: Python :: 3.11",
|
|
26
|
-
"Programming Language :: Python :: 3.12",
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
]
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
"numba
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"scikit-
|
|
41
|
-
"
|
|
42
|
-
"torch
|
|
43
|
-
"torch-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"sphinx",
|
|
59
|
-
"sphinx-
|
|
60
|
-
"sphinx-
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"sphinxcontrib-
|
|
65
|
-
"sphinxcontrib-
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
[
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools >=61.0.0", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pointtree"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
authors = [
|
|
9
|
+
{name = "Josafat-Mattias Burmeister", email = "burmeister@uni-potsdam.de"},
|
|
10
|
+
]
|
|
11
|
+
maintainers = [
|
|
12
|
+
{name = "Josafat-Mattias Burmeister", email = "burmeister@uni-potsdam.de"},
|
|
13
|
+
]
|
|
14
|
+
description = "A Python Package for Tree Instance Segmentation in 3D Point Clouds."
|
|
15
|
+
readme = "README.md"
|
|
16
|
+
license = { file = "LICENSE" }
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
|
+
"Intended Audience :: Science/Research",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Programming Language :: Python",
|
|
22
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
23
|
+
"Programming Language :: Python :: 3.9",
|
|
24
|
+
"Programming Language :: Python :: 3.10",
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
|
+
"Programming Language :: Python :: 3.12",
|
|
27
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
28
|
+
]
|
|
29
|
+
keywords = ["tree", "point cloud", "segmentation"]
|
|
30
|
+
requires-python = ">=3.9"
|
|
31
|
+
dependencies = [
|
|
32
|
+
"cloth-simulation-filter>=1.1.5, <2.0.0",
|
|
33
|
+
"laspy>=2.0.0, <3.0.0",
|
|
34
|
+
"numba>=0.55.0, <1.0.0",
|
|
35
|
+
"numba-kdtree>=0.3.0, <1.0.0",
|
|
36
|
+
"numpy>=1.21.0, <3.0.0",
|
|
37
|
+
"pandas>=2.0.0, <3.0.0",
|
|
38
|
+
"pyclesperanto-prototype>=0.22.0, <1.0.0",
|
|
39
|
+
"scipy>=1.8.0, <2.0.0",
|
|
40
|
+
"scikit-image>=0.21.0, <1.0.0",
|
|
41
|
+
"scikit-learn>=1.2.0, <2.0.0",
|
|
42
|
+
"torch>=2.0.0, <2.5.0",
|
|
43
|
+
"torch-cluster>=1.6.0, <2.0.0",
|
|
44
|
+
"torch-scatter>=2.0.2, <3.0.0"
|
|
45
|
+
]
|
|
46
|
+
[project.optional-dependencies]
|
|
47
|
+
dev = [
|
|
48
|
+
"black",
|
|
49
|
+
"mypy",
|
|
50
|
+
"pandas-stubs",
|
|
51
|
+
"pylint",
|
|
52
|
+
"pytest",
|
|
53
|
+
"pytest-cov",
|
|
54
|
+
"types-Pillow",
|
|
55
|
+
]
|
|
56
|
+
docs = [
|
|
57
|
+
"sphinx",
|
|
58
|
+
"sphinx-copybutton",
|
|
59
|
+
"sphinx-design",
|
|
60
|
+
"sphinx-docsearch",
|
|
61
|
+
"sphinxawesome-theme",
|
|
62
|
+
"sphinx-sitemap",
|
|
63
|
+
"sphinxcontrib-jsmath",
|
|
64
|
+
"sphinxcontrib-katex",
|
|
65
|
+
"sphinxcontrib-napoleon",
|
|
66
|
+
"sphinx_mdinclude",
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
[project.urls]
|
|
70
|
+
Homepage = "https://github.com/ai4trees/pointtree"
|
|
71
|
+
Documentation = "https://ai4trees.github.io/pointtree/"
|
|
72
|
+
Repository = "https://github.com/ai4trees/pointtree.git"
|
|
73
|
+
Issues = "https://github.com/ai4trees/pointtree/issues"
|
|
74
|
+
Changelog = "https://ai4trees.github.io/pointtree/changelog"
|
|
75
|
+
|
|
76
|
+
[tool.semantic_release]
|
|
77
|
+
version_toml = [
|
|
78
|
+
"pyproject.toml:project.version"
|
|
79
|
+
]
|
|
80
|
+
branch = "main"
|
|
81
|
+
changelog_file = "CHANGELOG.md"
|
|
82
|
+
build_command = "python -m build"
|
|
83
|
+
|
|
84
|
+
[tool.setuptools.package-data]
|
|
85
|
+
pointtree = ["*.typed"]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[egg_info]
|
|
2
|
-
tag_build =
|
|
3
|
-
tag_date = 0
|
|
4
|
-
|
|
1
|
+
[egg_info]
|
|
2
|
+
tag_build =
|
|
3
|
+
tag_date = 0
|
|
4
|
+
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
from setuptools import setup
|
|
2
|
-
|
|
1
|
+
from setuptools import setup
|
|
2
|
+
|
|
3
3
|
setup()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
""" Utilities for configuring the package setup. """
|
|
2
|
-
|
|
3
|
-
from ._config import *
|
|
4
|
-
|
|
5
|
-
__all__ = [name for name in globals().keys() if not name.startswith("_")]
|
|
1
|
+
""" Utilities for configuring the package setup. """
|
|
2
|
+
|
|
3
|
+
from ._config import *
|
|
4
|
+
|
|
5
|
+
__all__ = [name for name in globals().keys() if not name.startswith("_")]
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
""" Utilities for configuring the package setup. """
|
|
2
|
-
|
|
3
|
-
__all__ = ["pytorch3d_is_available"]
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def pytorch3d_is_available() -> bool:
|
|
7
|
-
"""
|
|
8
|
-
Returns: `True` if PyTorch3D is installed and `False` otherwise.
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
pytorch3d_available = False
|
|
12
|
-
try:
|
|
13
|
-
import pytorch3d as _ # pylint: disable=import-outside-toplevel
|
|
14
|
-
|
|
15
|
-
pytorch3d_available = True
|
|
16
|
-
except (ModuleNotFoundError, TypeError):
|
|
17
|
-
pass
|
|
18
|
-
|
|
19
|
-
return pytorch3d_available
|
|
1
|
+
""" Utilities for configuring the package setup. """
|
|
2
|
+
|
|
3
|
+
__all__ = ["pytorch3d_is_available"]
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def pytorch3d_is_available() -> bool:
|
|
7
|
+
"""
|
|
8
|
+
Returns: `True` if PyTorch3D is installed and `False` otherwise.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
pytorch3d_available = False
|
|
12
|
+
try:
|
|
13
|
+
import pytorch3d as _ # pylint: disable=import-outside-toplevel
|
|
14
|
+
|
|
15
|
+
pytorch3d_available = True
|
|
16
|
+
except (ModuleNotFoundError, TypeError):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
return pytorch3d_available
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
""" Evaluation tools. """
|
|
2
|
-
|
|
3
|
-
from ._metrics import *
|
|
4
|
-
from ._timer import *
|
|
5
|
-
from ._time_tracker import *
|
|
6
|
-
|
|
7
|
-
__all__ = [name for name in globals().keys() if not name.startswith("_")]
|
|
1
|
+
""" Evaluation tools. """
|
|
2
|
+
|
|
3
|
+
from ._metrics import *
|
|
4
|
+
from ._timer import *
|
|
5
|
+
from ._time_tracker import *
|
|
6
|
+
|
|
7
|
+
__all__ = [name for name in globals().keys() if not name.startswith("_")]
|