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类别
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
在 Help Center 和 MATLAB Answers 中查找有关 Region and Image Properties 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!