<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><div><blockquote type="cite" class=""><div class="">On Apr 25, 2019, at 7:29 AM, Steven Spiegel <<a href="mailto:steven.spiegel@slu.edu" class="">steven.spiegel@slu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">Good morning,</div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;" class="">I have a question about applying rasters to point clouds. Before I created a TIF, I classified the ground, curvature, height above ground, and normalized intensity. I then exported it as a tif (resolution = 0.1 m, average, etc) without the ground. I then combined the three aforementioned attributes and used some image segmentation techniques to separate the objects in the scene. I now have a labeled raster of my objects (they are not yet classified, just segmented). Is there a way to then apply a label (as opposed to a class) on the points? I know you can colorize with a raster or even if I turned it into a shapefile I can then classify that way, but I'm not quite at that level. I looked through the dimension list (<a href="https://pdal.io/dimensions.html" id="LPlnk903218" class="">https://pdal.io/dimensions.html</a>) and didn't see one that would fit for what I'm looking for. Can I create a dimension and then apply the label? If you need further clarification I can provide it. Thanks!</div></div></blockquote><br class=""></div><div>Steven,</div><div><br class=""></div><div>filters.colorization is really just a poorly named filters.overlay for raster<div class=""><br class=""></div><div class=""><a href="https://pdal.io/stages/filters.colorization.html#filters-colorization" class="">https://pdal.io/stages/filters.colorization.html#filters-colorization</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Something like this might work. Use colorization to grab the first band value and stick it in GPSTime (a dimension of type double that should exist in a default LAS schema). Then copy that over to a dimension called "Segmented". Further processing can use the "Segmented" dimension as needed.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">{</div><div class=""><div class=""> "type":"filters.colorization",</div><div class=""> "dimensions":"GPSTime:1",</div><div class=""> "raster":"segmented.tif"</div><div class="">},</div></div><div class="">{<div class=""> "type":"filters.ferry",</div><div class=""> "dimensions":"GPSTime=>Segmented",</div><div class="">},</div></div></blockquote></div><div class=""><div class=""><br class=""></div><div class="">Hope this helps,</div><div class=""><br class=""></div><div class="">Howard</div></div></div><br class=""></div></body></html>