<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.gmail-im
        {mso-style-name:gmail-im;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Brad:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for the suggestions.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve done some reading and begun playing around with the cluster filter.  One problem is that I’m new enough to PDAL that I cannot find a way to add/define a dimension and store the cluster ID into either LAS or LAZ format on output.  I
 think it should be possible to just hijack an existing field in the point data records for current testing purposes.  Does this sound possible?  I’m floundering a bit trying to find an example of something similar.  Can you point me in the right direction?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I can get a BPF output, but currently have no way to review the result.  I’m now downloading 64-bit QT Reader, after finding a thread by HoBu saying that this viewer would work for a quick review.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve also tried using pdal translate to convert the BPF to LAS, but cannot find any trace of the ClusterID in the resulting LAS file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for any and all assistance,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Karl<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>From:</b> Bradley Chambers <brad.chambers@gmail.com> <br>
<b>Sent:</b> Friday, June 7, 2019 11:29 AM<br>
<b>To:</b> Karl North <karln@surdex.com><br>
<b>Cc:</b> pdal@lists.osgeo.org<br>
<b>Subject:</b> Re: [pdal] tweaking parameters in filters.smrf<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Karl,<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="color:#500050">On Fri, Jun 7, 2019 at 12:09 PM Karl North <<a href="mailto:karln@surdex.com" target="_blank">karln@surdex.com</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#500050">The main issue that I currently have with my PDAL result is the presence of too much high frequency “noise” visible in the surface defined by the ground
 classified points.  A lesser issue is the delicate balance, when using the cut grid parameter to help eliminate building points, between the removal of building features and preserving sufficient terrain detail.<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:#500050"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">The issue you've mentioned with and without cut is well known. It would be interesting to hear more about what you are seeing with the high frequency noise though.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#500050"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#500050">Is there anyone out there on the mailing list that can suggest such write-ups, or would be willing to share their insights?<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:#500050"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">I don't know of any write-ups other than the original paper. The original author also has his MATLAB code on GitHub (<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthomaspingel%2Fneilpy&data=02%7C01%7C%7C35f7a44a37464bc883b508d6eb65467b%7Cbf4323beeac04c8eb466c7924493cbee%7C0%7C1%7C636955217559063804&sdata=xQBCVsQE1yDqpbQ1PKAcVye54Atp8s3H2vY6854qdYU%3D&reserved=0" target="_blank">https://github.com/thomaspingel/neilpy</a>),
 though I don't recall that there are any hints on what parameters to tweak for specific environments.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#500050"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#500050">Perhaps there are other (as yet undiscovered) PDAL filters that I might include in my pipeline either before or after SMRF that would be better suited
 to the remaining cleanup than tweaking the SMRF parameters themselves.<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:#500050"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">One thing that comes to mind, though it would take some experimentation, would be to run a cluster filter (<a href="https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpdal.io%2Fstages%2Ffilters.cluster.html%23filters-cluster&data=02%7C01%7C%7C35f7a44a37464bc883b508d6eb65467b%7Cbf4323beeac04c8eb466c7924493cbee%7C0%7C1%7C636955217559063804&sdata=Ot3hDXkA39602%2FrlxqvummbpIRBkd1xB9mPvl%2BuikdA%3D&reserved=0" target="_blank">https://pdal.io/stages/filters.cluster.html#filters-cluster</a>)
 after SMRF and then to filter out clusters that were small. I'd maybe use this without cut to find those roof segments that got left behind and may end up as their own clusters.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#500050"> <o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:#500050">I can share sample LAZ data illustrating a SMRF-vs-TSCAN comparison of current my state-of-the-art, if this will help clarify the current issue(s). 
 To do so, I could use some guidance on reasonable limits on file size for sharing such a sample.<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span style="color:#500050"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">It would certainly be interesting to see the data. Other users in the past have posted to Google Drive, Dropbox, or similar.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Brad<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>