Irregular polygon morphology
이전 댓글 표시
Say I have an irregular polygon. I want to be able to find the maximum length within the bounds of the polygon, then based on this chord I want to make perpendicular lines from this chord that would reach both sides of the boundaries of the polygon to give me a width. Once I have all these widths I would need to find the minimum but that is the least of my worries. I am unsure where to begin trying to find these widths. Any help is appreciated. thank you!
답변 (1개)
Sean de Wolski
2011년 4월 14일
0 개 추천
As you have alluded to, the widths are easy once you have the maximum line. That problem is harder. You might want to look into a brute force approach or a genetic algorithm.
카테고리
도움말 센터 및 File Exchange에서 Morphological Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!