Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
chambbj committed Mar 20, 2019
1 parent c6d3785 commit 3f81ac0
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
30 changes: 6 additions & 24 deletions doc/tutorial/pcl_ground/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,43 +22,25 @@ SMRF [Pingel2013]_.

filters.smrf :ref:`smrf <filters.smrf>`

::

$ pdal translate -i CSite1_orig-utm.laz \
-o CSite1_orig-utm.smrf.laz \
--json /path/to/pipeline.json
In each of the examples in this section, we will call the following ``pdal translate`` command. Simply create the ``pipeline.json`` according to each example and update the path as necessary.

::

$ pdal translate -i CSite1_orig-utm.laz \
-o CSite1_orig-utm.smrf.laz \
smrf range \
--filters.range.limits="Classification[2:2]"
$ pdal translate -i /path/to/CSite1_orig-utm.laz \
-o /path/to/output.laz \
--json /path/to/pipeline.json

.. literalinclude:: smrf-range.json

.. image:: csite-smrf-default.png
:height: 400px

::

$ pdal translate -i CSite1_orig-utm.laz \
-o CSite1_orig-utm.denoised-smrf.laz \
outlier smrf range \
--filters.range.limits="Classification[2:2]" \
--filters.smrf.ignore="Classification[7:7]"
.. literalinclude:: outlier-smrf-range.json

.. image:: csite-smrf-denoise.png
:height: 400px

::

pdal translate -i CSite1_orig-utm.laz \
-o ~/Temp/smrf-denoise-cut20.laz \
outlier smrf range \
--filters.range.limits="Classification[2:2]" \
--filters.smrf.ignore="Classification[7:7]" \
--filters.smrf.cut=20
.. literalinclude:: outlier-smrf-range-cut.json

.. image:: csite-smrf-cut.png
:height: 400px
Expand Down
16 changes: 16 additions & 0 deletions doc/tutorial/pcl_ground/outlier-smrf-range-cut.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"pipeline": [
{
"type": "filters.outlier"
},
{
"type": "filters.smrf",
"ignore": "Classification[7:7]",
"cut": 20
},
{
"type": "filters.range",
"limits": "Classification[2:2]"
}
]
}
15 changes: 15 additions & 0 deletions doc/tutorial/pcl_ground/outlier-smrf-range.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"pipeline": [
{
"type": "filters.outlier"
},
{
"type": "filters.smrf",
"ignore": "Classification[7:7]"
},
{
"type": "filters.range",
"limits": "Classification[2:2]"
}
]
}

0 comments on commit 3f81ac0

Please sign in to comment.