Skip to content

Commit 8bb9430

Browse files
Added high-level summary of pptk to README.md.
1 parent e449ca8 commit 8bb9430

5 files changed

Lines changed: 46 additions & 6 deletions

File tree

README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
# pptk - Point Processing Toolkit
22

3-
Copyright (C) 2011-2017 HERE Europe B.V.
3+
Copyright (C) 2011-2018 HERE Europe B.V.
44

5-
pptk is a Python package for facilitating point cloud processing in Python.
5+
The Point Processing Toolkit (pptk) is a Python package for visualizing and processing 2-d/3-d point clouds.
6+
7+
At present, pptk consists of the following features.
8+
9+
* A 3-d point cloud viewer that
10+
- accepts any 3-column numpy array as input,
11+
- renders tens of millions of points interactively using an octree-based level of detail mechanism,
12+
- supports point selection for inspecting and annotating point data.
13+
* A fully parallelized point k-d tree that supports k-nearest neighbor queries and r-near range queries
14+
(both build and queries have been parallelized).
15+
* A normal estimation routine based on principal component analysis of point cloud neighborhoods.
16+
17+
[Homepage](https://heremaps.github.io/pptk/index.html)
618

719
## License
820

@@ -23,6 +35,30 @@ or from the .whl file that results from [building pptk from source](#build).
2335
>> pip install <.whl file>
2436
```
2537

38+
## Quickstart
39+
40+
In Python, generate 100 random 3-d points.
41+
42+
```
43+
>> import numpy as np
44+
>> x = np.random.rand(100, 3)
45+
```
46+
47+
Visualize.
48+
49+
```
50+
>> import pptk
51+
>> v = pptk.viewer(x)
52+
```
53+
54+
Set point size to 0.01.
55+
56+
```
57+
>> v.set(point_size=0.01)
58+
```
59+
60+
For more advanced examples, see [tutorials](https://heremaps.github.io/pptk/tutorial.html).
61+
2662
## Build
2763

2864
We provide CMake scripts for automating most of the build process, but ask the

docs/source/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{%- endif -%}
3232
<h1 class="heading"><a href="{{ pathto('index') }}">
3333
<span>{{ shorttitle|e }}</span></a></h1>
34-
<h2 class="heading"><span>Point Processing Tool Kit</span></h2>
34+
<h2 class="heading"><span>Point Processing Toolkit</span></h2>
3535
{%- endif %}
3636
{%- endblock %}
3737
</div>

docs/source/install.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ Installing pptk
44
Install from PyPI
55
-----------------
66

7-
One can either install pptk directly from PyPI
7+
Install pptk directly from PyPI
88

99
>>> pip install pptk
1010

11-
or from the .whl file that results from
11+
.. note::
12+
pptk requires 64-bit Python and is only :code:`pip install`-able on versions of Python
13+
that have a corresponding pptk wheel file on `PyPI <https://pypi.org/project/pptk/>`__.
14+
15+
Or install from the .whl file that results from
1216
:ref:`building pptk from source <build_from_source>`.
1317

1418
>>> pip install <.whl file>

docs/source/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Install pptk.
77

88
.. note::
99
pptk requires 64-bit Python and is only :code:`pip install`-able on versions of Python
10-
that have a corresponding pptk wheel file on PyPI.
10+
that have a corresponding pptk wheel file on `PyPI <https://pypi.org/project/pptk/>`__.
1111

1212
In Python, generate 100 random 3-d points, and
1313

276 KB
Loading

0 commit comments

Comments
 (0)