![]() ![]() It's not "Toolbox-independent," per se, but it is more accessible to an image processing geek like me, and now readily available to users of one of our most popular tools. I discussed the problem with the developers of the Image Processing Toolbox, and.lo and behold, about a year after that discussion (in R2019b), the team released reducepoly and, reduce as a method of images.roi objects. There were several nice implementations of the algorithm on the File Exchange, and they gave me an easy Toolbox-independent path forward (ahem) for the problem at hand. In my effort to algorithmically eliminate them, I found my way to the reducem implementation of the "Douglas-Peucker algorithm" (AKA, the "Ramer-Douglas-Peucker algorithm") in the Mapping Toolbox. In short, I had representations of several paths that had a lot of redundant vertices-they were collinear (or rather, collinear within a specified tolerance) with other consecutive vertices, and added no useful information to the graphics I needed to generate. Back in September of 2018, I wrote here about several tools that helped me solve a path-reduction problem that I was working on. Before he Picks this Week's featured File Exchange submission, Brett would like to give a nod of appreciation to the developers of the Image Processing Toolbox. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |