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.
Files changed (50) hide show
  1. {pointtree-0.0.0 → pointtree-0.1.0}/LICENSE +21 -21
  2. {pointtree-0.0.0/src/pointtree.egg-info → pointtree-0.1.0}/PKG-INFO +115 -114
  3. {pointtree-0.0.0 → pointtree-0.1.0}/README.md +35 -33
  4. {pointtree-0.0.0 → pointtree-0.1.0}/pyproject.toml +85 -81
  5. {pointtree-0.0.0 → pointtree-0.1.0}/setup.cfg +4 -4
  6. {pointtree-0.0.0 → pointtree-0.1.0}/setup.py +2 -2
  7. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/config/__init__.py +5 -5
  8. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/config/_config.py +19 -19
  9. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/__init__.py +7 -7
  10. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_metrics.py +233 -233
  11. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_time_tracker.py +45 -45
  12. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/evaluation/_timer.py +29 -29
  13. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/__init__.py +8 -7
  14. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_instance_segmentation_algorithm.py +236 -232
  15. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_multi_stage_algorithm.py +1218 -1218
  16. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_priority_queue.py +107 -107
  17. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/instance_segmentation/_utils.py +45 -45
  18. pointtree-0.1.0/src/pointtree/io/__init__.py +13 -0
  19. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_base_point_cloud_reader.py +88 -88
  20. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_base_point_cloud_writer.py +90 -90
  21. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_csv_reader.py +83 -83
  22. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_csv_writer.py +76 -76
  23. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_las_reader.py +103 -103
  24. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_las_writer.py +145 -145
  25. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_io_data.py +19 -19
  26. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_reader.py +46 -46
  27. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/io/_point_cloud_writer.py +45 -45
  28. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/__init__.py +12 -9
  29. pointtree-0.1.0/src/pointtree/operations/_cloth_simulation_filtering.py +70 -0
  30. pointtree-0.1.0/src/pointtree/operations/_create_digital_terrain_model.py +82 -0
  31. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_knn_search.py +277 -277
  32. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_make_labels_consecutive.py +64 -64
  33. pointtree-0.1.0/src/pointtree/operations/_normalize_height.py +83 -0
  34. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_pack_batch.py +61 -61
  35. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_ravel_index.py +121 -121
  36. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/operations/_voxel_downsampling.py +170 -170
  37. pointtree-0.1.0/src/pointtree/py.typed +0 -0
  38. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/__init__.py +7 -7
  39. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_color_palette.py +39 -39
  40. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_color_point_cloud.py +107 -107
  41. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_hex_to_rgb.py +29 -29
  42. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/visualization/_save_tree_map.py +85 -85
  43. {pointtree-0.0.0 → pointtree-0.1.0/src/pointtree.egg-info}/PKG-INFO +115 -114
  44. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree.egg-info/SOURCES.txt +4 -0
  45. pointtree-0.1.0/src/pointtree.egg-info/requires.txt +34 -0
  46. pointtree-0.0.0/src/pointtree/io/__init__.py +0 -19
  47. pointtree-0.0.0/src/pointtree.egg-info/requires.txt +0 -34
  48. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree/__init__.py +0 -0
  49. {pointtree-0.0.0 → pointtree-0.1.0}/src/pointtree.egg-info/dependency_links.txt +0 -0
  50. {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.0.0
4
- Summary: A Python Package for Individual Tree Segmentation in 3D Point Clouds.
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: Programming Language :: Python :: 3.13
45
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
46
- Requires-Python: >=3.9
47
- Description-Content-Type: text/markdown
48
- License-File: LICENSE
49
- Requires-Dist: numba
50
- Requires-Dist: numba-kdtree
51
- Requires-Dist: numpy
52
- Requires-Dist: pandas
53
- Requires-Dist: pyclesperanto-prototype
54
- Requires-Dist: scipy
55
- Requires-Dist: scikit-image
56
- Requires-Dist: scikit-learn
57
- Requires-Dist: torch
58
- Requires-Dist: torch-cluster
59
- Requires-Dist: torch-scatter
60
- Provides-Extra: dev
61
- Requires-Dist: black; extra == "dev"
62
- Requires-Dist: coverage; extra == "dev"
63
- Requires-Dist: coverage-badge; extra == "dev"
64
- Requires-Dist: mypy; extra == "dev"
65
- Requires-Dist: pandas-stubs; extra == "dev"
66
- Requires-Dist: parameterized; extra == "dev"
67
- Requires-Dist: pylint; extra == "dev"
68
- Requires-Dist: pytest; extra == "dev"
69
- Requires-Dist: types-Pillow; extra == "dev"
70
- Provides-Extra: docs
71
- Requires-Dist: sphinx; extra == "docs"
72
- Requires-Dist: sphinx-copybutton; extra == "docs"
73
- Requires-Dist: sphinx-design; extra == "docs"
74
- Requires-Dist: sphinx-docsearch; extra == "docs"
75
- Requires-Dist: sphinxawesome-theme; extra == "docs"
76
- Requires-Dist: sphinx-sitemap; extra == "docs"
77
- Requires-Dist: sphinxcontrib-jsmath; extra == "docs"
78
- Requires-Dist: sphinxcontrib-katex; extra == "docs"
79
- Requires-Dist: sphinxcontrib-napoleon; extra == "docs"
80
- Requires-Dist: sphinx_mdinclude; extra == "docs"
81
-
82
- # PointTree
83
-
84
- ## A Python Package for Individual Tree Segmentation in 3D Point Clouds.
85
-
86
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
87
- [![CI](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml/badge.svg)](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
88
- ![coverage](coverage.svg)
89
-
90
- 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)
91
-
92
- ### Package Documentation
93
-
94
- The documentation of our package is available [here](https://ai4trees.github.io/pointtree/).
95
-
96
- ### Project Setup
97
-
98
- The setup of our package is described in the [documentation](https://ai4trees.github.io/pointtree/#get-started).
99
-
100
- ### How to Cite
101
-
102
- If you use our code, please consider citing our paper:
103
-
104
- ```
105
- @article{Burmeister_Tree_Instance_Segmentation_2024,
106
- author = {Burmeister, Josafat-Mattias and Richter, Rico and Reder, Stefan and Mund, Jan-Peter and Döllner, Jürgen},
107
- doi = {10.5194/isprs-annals-X-4-W5-2024-79-2024},
108
- journal = {ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
109
- pages = {79--86},
110
- title = {{Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation}},
111
- volume = {X-4/W5-2024},
112
- year = {2024}
113
- }
114
- ```
1
+ Metadata-Version: 2.1
2
+ Name: pointtree
3
+ Version: 0.1.0
4
+ Summary: A Python Package for Tree Instance Segmentation in 3D Point Clouds.
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: 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
+ ![pypi-image](https://badge.fury.io/py/pointtree.svg)
86
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
87
+ [![CI](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml/badge.svg)](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
88
+ [![coverage](https://codecov.io/gh/ai4trees/pointtree/branch/main/graph/badge.svg)](https://codecov.io/github/ai4trees/pointtree?branch=main)
89
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pointtree)
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
- # PointTree
2
-
3
- ## A Python Package for Individual Tree Segmentation in 3D Point Clouds.
4
-
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
- [![CI](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml/badge.svg)](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
7
- ![coverage](coverage.svg)
8
-
9
- 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)
10
-
11
- ### Package Documentation
12
-
13
- The documentation of our package is available [here](https://ai4trees.github.io/pointtree/).
14
-
15
- ### Project Setup
16
-
17
- The setup of our package is described in the [documentation](https://ai4trees.github.io/pointtree/#get-started).
18
-
19
- ### How to Cite
20
-
21
- If you use our code, please consider citing our paper:
22
-
23
- ```
24
- @article{Burmeister_Tree_Instance_Segmentation_2024,
25
- author = {Burmeister, Josafat-Mattias and Richter, Rico and Reder, Stefan and Mund, Jan-Peter and Döllner, Jürgen},
26
- doi = {10.5194/isprs-annals-X-4-W5-2024-79-2024},
27
- journal = {ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences},
28
- pages = {79--86},
29
- title = {{Tree Instance Segmentation in Urban 3D Point Clouds Using a Coarse-to-Fine Algorithm Based on Semantic Segmentation}},
30
- volume = {X-4/W5-2024},
31
- year = {2024}
32
- }
33
- ```
1
+ <img src="https://github.com/ai4trees/pointtree/blob/main/docs/assets/pointtree-logo-color.png" alt="pointtree" width="300" height="100">
2
+
3
+ ## A Python Package for Tree Instance Segmentation in 3D Point Clouds.
4
+
5
+ ![pypi-image](https://badge.fury.io/py/pointtree.svg)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
+ [![CI](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml/badge.svg)](https://github.com/ai4trees/pointtree/actions/workflows/code-quality-main.yml)
8
+ [![coverage](https://codecov.io/gh/ai4trees/pointtree/branch/main/graph/badge.svg)](https://codecov.io/github/ai4trees/pointtree?branch=main)
9
+ ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pointtree)
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.0.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 Individual Tree 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
- "Programming Language :: Python :: 3.13",
28
- "Topic :: Scientific/Engineering :: Artificial Intelligence",
29
- ]
30
- keywords = ["tree", "point cloud", "segmentation"]
31
- requires-python = ">=3.9"
32
- dependencies = [
33
- "numba",
34
- "numba-kdtree",
35
- "numpy",
36
- "pandas",
37
- "pyclesperanto-prototype",
38
- "scipy",
39
- "scikit-image",
40
- "scikit-learn",
41
- "torch",
42
- "torch-cluster",
43
- "torch-scatter"
44
- ]
45
- [project.optional-dependencies]
46
- dev = [
47
- "black",
48
- "coverage",
49
- "coverage-badge",
50
- "mypy",
51
- "pandas-stubs",
52
- "parameterized",
53
- "pylint",
54
- "pytest",
55
- "types-Pillow",
56
- ]
57
- docs = [
58
- "sphinx",
59
- "sphinx-copybutton",
60
- "sphinx-design",
61
- "sphinx-docsearch",
62
- "sphinxawesome-theme",
63
- "sphinx-sitemap",
64
- "sphinxcontrib-jsmath",
65
- "sphinxcontrib-katex",
66
- "sphinxcontrib-napoleon",
67
- "sphinx_mdinclude",
68
- ]
69
-
70
- [project.urls]
71
- Homepage = "https://github.com/ai4trees/pointtree"
72
- Documentation = "https://ai4trees.github.io/pointtree/"
73
- Repository = "https://github.com/ai4trees/pointtree.git"
74
- Issues = "https://github.com/ai4trees/pointtree/issues"
75
- Changelog = "https://ai4trees.github.io/pointtree/changelog"
76
-
77
- [tool.semantic_release]
78
- version_variable = "pyproject.toml:version"
79
- branch = "main"
80
- changelog_file = "CHANGELOG.md"
81
- build_command = "python -m build"
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("_")]