<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">A note to let you know this work is now complete.<div class=""><br class=""></div><div class="">* filters.matlab allows inline PDAL->Matlab->PDAL filter operations, much like filter.python. It requires the full Matlab environment to execute.</div><div class="">* writers.matlab now supports writing a single array struct with an optionally specified field list. It only requires the MX and MAT libraries.</div><div class="">* readers.matlab now supports reading a single array struct.</div><div class="">* filters.programmable and filters.predicate are now simply filters.python.</div><div class=""><br class=""></div><div class="">Please pull the latest master and configure with -DBUILD_PLUGIN_MATLAB=ON to test it out.</div><div class=""><br class=""></div><div class="">Howard</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 19, 2017, at 11:34 PM, Howard Butler <<a href="mailto:howard@hobu.co" class="">howard@hobu.co</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">All,<div class=""><br class=""></div><div class="">Similar to PDAL's Python support <a href="https://www.pdal.io/python.html" class="">https://www.pdal.io/python.html</a>, I have embarked on providing the ability to embed Matlab in the form of a filters.matlab stage. A client has requested this capability, and while I'm quite familiar with Python embedding scenarios, I hope the community can provide some guidance on what the must-haves would be for Matlab capability. The first attempt will simply allow users to touch a special "pdal" array with their script and update the point values as needed with no ability to change the schema in any way. The typical processing scenario would use filters.matlab in a pipeline operation. Assuming that is working in the upcoming 1.6 PDAL release, what other features would PDAL's Matlab connections need to make them extremely useful and powerful?</div><div class=""><br class=""></div><div class="">Additionally, as part of the Matlab effort, it's clear the PDAL Python stuff is spread about a bit too much. The filters.predicate and filters.programmable nomenclature is confusing, and I propose that we simply rename it all to filters.python, and if the returned dictionary of Numpy arrays has a "mask" array on it, it will behave like filters.predicate does to cull the points. Otherwise, not much else will change for PDAL's Python stuff besides the filter name.</div><div class=""><br class=""></div><div class="">Would Matlab interaction in PDAL pipelines be useful to you? What other PDAL/Matlab interaction scenarios give you the power of PDAL's processing pipelines married with Matlab's deep prototyping environment? My client would like to use intricate Matlab algorithms in the context of PDAL pipelines for data processing orchestration. How do we expose PDAL to the Matlab user in a way that would be useful for them? </div><div class=""><br class=""></div><div class="">Howard</div></div></div></blockquote></div><br class=""></div></body></html>