Optimization of chamfer masks

This submission contains codes for optimizing chamfer masks using Farey sequences
29 Downloads
Updated 25 May 2019

View License

In this submission, we demonstrate how Farey sequences can be used to simplify optimization equations of chamfer masks, which are frequently used to compute distance transforms. In addition, the codes show the relationships between shapes of chamfer masks and optimal local weights that define the masks.

Cite As

Baraka Maiseli (2024). Optimization of chamfer masks (https://www.mathworks.com/matlabcentral/fileexchange/71652-optimization-of-chamfer-masks), MATLAB Central File Exchange. Retrieved .

Maiseli, Baraka Jacob, et al. “Robust Cost Function for Optimizing Chamfer Masks.” The Visual Computer, vol. 34, no. 5, Springer Nature, May 2017, pp. 617–32, doi:10.1007/s00371-017-1367-8.

View more styles
MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0