DecimatePoly

Simplify a 2D closed contour/polygon to within user-defined boundary offset tolerance
1,6K download
Aggiornato 4 set 2020

Nota dell'editore: This file was selected as MATLAB Central Pick of the Week

Decimate 2D contours/polygons

View DecimatePoly on File Exchange

Have you ever worked with 2D boundary shape representations and noticed that the same shape can be represented with reasonable accuracy by a much smaller number of points? Did you ever need to reduce the complexity of a 2D shape while retaining as many salient features as possible? If so then DecimatePoly.m is the function you have been looking for.

Quick Demos

DecimatePoly_demo1: Simplify a 2D contour extracted from a binary image. Three binary images are included as examples. This demo requires Image Processing Toolbox to run.

DecimatePoly_demo2: Simplifying complex shapes while retaining geometrically and visually salient features.

DecimatePoly_demo3: Use DecimatePoly.m to improve the run-time of in-polygon tests at the cost of minor misclassification errors.

Get Python version here

DecimatePoly.m was selected as Matlab Pick of the Week

License

MIT © 2019 Anton Semechko a.semechko@gmail.com

Cita come

Anton Semechko (2024). DecimatePoly (https://github.com/AntonSemechko/DecimatePoly), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2015a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Bounding Regions in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: MatClust

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate

Versione Pubblicato Note della release
1.2.1.1

Use README.md from GitHub

1.2.1.0

- migrated to GitHub

1.2.0.0

Modified code according to suggestions made by Georgios Gkantzounis and Erik Husby

1.1.0.0

updated description

1.0.0.0

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.