Active Shape Growing 2D Box Fit

An active box shape grows from the seed point which is given by the user.

You are now following this Submission

The boxfit.m function is developed for growing an active box shape which is initialized at the given seed point
location. The active box shape grows in different orientation and it tries to find the best fit into the edges of the object in the provided image.
Please open DEMO.m and run this code (with F5) in order to see an example which calls boxfit.m function.
The main advantage of the algorithm is that the best fit can be obtained even when the given object doesn't have all edges visible.

Cite As

Beril Sirmacek (2026). Active Shape Growing 2D Box Fit (https://www.mathworks.com/matlabcentral/fileexchange/53788-active-shape-growing-2d-box-fit), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

* Sample image is added.