Largest inscribed rectangle, square or circle

The included functions will find the largest inscribed rectangle, square or circle of any orientation and in any arbitrary image.

Download
Download

You are now following this Submission

Cite As

Peter Seibold (2020). Largest inscribed rectangle square or circle, MATLAB Central File Exchange.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.1

Added 'circle' in title

Download
2.0.0

Largest circle implemented

Download
1.2.0

Removed failure with white pixel in the top row or left column of the image. (Thanks to Andrew B., who discovered the problem)

Download
1.0.1

Changed description

Download
1.0.0

Download