max_inscribed_circl​e

版本 1.0.2 (2.4 KB) 作者: Rahul Warrier
Get the center and radius of the largest circle that inscribes the convex hull of a set of 2D coordinates
221.0 次下载
更新时间 2019/6/30

查看许可证

Based on the algorithm suggested by "Image Analyst" here: https://www.mathworks.com/matlabcentral/answers/377838-please-how-can-i-find-the-center-and-the-radius-of-the-inscribed-circle-of-a-set-of-points

Find the convex hull of the given set of 2D coordinates using the "convhull" command. Then, find the maximal euclidean distance between all the points along the boundary of the convex hull which gives the radius of the largest inscribing circle.

引用格式

Rahul Warrier (2025). max_inscribed_circle (https://www.mathworks.com/matlabcentral/fileexchange/71995-max_inscribed_circle), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.2

Removed incorrect scaling factor. Note that if the resultant convex hull has a large aspect ratio then the algorithm is slow.

1.0.1

Added scaling factor to normalize the coordinates to take care of high aspect ratio convex hulls.

1.0.0