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 b1d32d7 commit c6d3785
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
38 changes: 38 additions & 0 deletions doc/tutorial/pcl_ground/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,44 @@ 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

::

$ pdal translate -i CSite1_orig-utm.laz \
-o CSite1_orig-utm.smrf.laz \
smrf range \
--filters.range.limits="Classification[2:2]"

.. 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]"

.. 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

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

Expand All @@ -39,6 +71,12 @@ PMF [Zhang2003]_.

filters.pmf :ref:`pmf <filters.pmf>`

pdal ground -i ~/Data/bare_earth_eval/isprs/converted/laz/CSite1_orig-utm.laz -o ~/Temp/ground-kernel-defaults.laz -v4
pdal ground -i ~/Data/bare_earth_eval/isprs/converted/laz/CSite1_orig-utm.laz -o ~/Temp/ground-kernel-defaults.laz --verbose 4
pdal ground -i ~/Data/bare_earth_eval/isprs/converted/laz/CSite1_orig-utm.laz -o ~/Temp/ground-kernel-defaults.laz --extract --verbose 4
pdal ground -i ~/Data/bare_earth_eval/isprs/converted/laz/CSite1_orig-utm.laz -o ~/Temp/ground-kernel-denoise.laz --extract --denoise --verbose 4
pdal ground -i ~/Data/bare_earth_eval/isprs/converted/laz/CSite1_orig-utm.laz -o ~/Temp/ground-kernel-denoise-cell.laz --extract --denoise --cell_size=1.5 --verbose 4

A complete description of the algorithm can be found in the article `"A
Progressive Morphological Filter for Removing Nonground Measurements from
Airborne LIDAR Data" <http://users.cis.fiu.edu/~chens/PDF/TGRS.pdf>`_ by K.
Expand Down
11 changes: 11 additions & 0 deletions doc/tutorial/pcl_ground/smrf-range.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"pipeline": [
{
"type": "filters.smrf"
},
{
"type": "filters.range",
"limits": "Classification[2:2]"
}
]
}

0 comments on commit c6d3785

Please sign in to comment.