max_inscribed_circle
Version 1.0.2 (2.38 KB) by
Rahul Warrier
Get the center and radius of the largest circle that inscribes the convex hull of a set of 2D coordinates
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.
Cite As
Rahul Warrier (2026). max_inscribed_circle (https://www.mathworks.com/matlabcentral/fileexchange/71995-max_inscribed_circle), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
Find more on Region and Image Properties in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
