Intensity Value Based Box Fit (2D Active Shape Growing)

2D virtual box shape tries to fit into shape by calculating an intensity based energy value.

You are now following this Submission

The earlier submission (which can be found in the following link) has provided an active shape function which tries to fit to the Canny edges of the object.
http://www.mathworks.com/matlabcentral/fileexchange/53788-active-shape-growing-2d-box-fit
This submission includes a new active shape function which tries to fit a virtual shape on the objects based on the intensity change.

The best results can be obtained when the seed points (starting positions of the virtual boxes) are chosen inside of the square or rectangular buildings of digital elevation models.

In order to see an example, open the DEMO.m file and press F5.

The last step of the DEMO.m code also includes a short script to generate an approximate 3D view using the detected shape as footprint, mean of interior intensity values as height and using the given input image for texturing the 3D model.

Cite As

Beril Sirmacek (2026). Intensity Value Based Box Fit (2D Active Shape Growing) (https://www.mathworks.com/matlabcentral/fileexchange/54017-intensity-value-based-box-fit-2d-active-shape-growing), 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.1.0.0

License notes are added.

1.0.0.0