Simplify a 2D closed contour/polygon to within user-defined boundary offset tolerance
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
편집자 메모: This file was selected as MATLAB Central Pick of the Week
Decimate 2D contours/polygons
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
인용 양식
Anton Semechko (2026). DecimatePoly (https://github.com/AntonSemechko/DecimatePoly), GitHub. 검색 날짜: .
도움
도움 준 파일: MatClust
