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.
Updated 16 Nov 2015

View License

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.
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 (2024). Intensity Value Based Box Fit (2D Active Shape Growing) (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Biomedical Imaging in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

License notes are added.