Optimization of chamfer masks

This file contains functions to optimize chamfer masks and implement sequential distance transforms.

You are now following this Submission

This submission implements functions to
(1) Optimize chamfer masks using an alternative cost function, called symmetric mean absolute error (SMAPE), which has been widely used in weather forecasting applications
(2) Convert the designed real-valued chamfer masks into integers
(3) Compute distance maps using a sequential chamfering algorithm and the designed chamfer masks
(4) Boost speed of the original chamfering algorithm
**** A paper about this submission has been submitted to the IEEE Transactions of Image Processing for consideration of publication.

Cite As

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

Acknowledgements

Inspired by: PlotPub - Publication Quality Graphs in MATLAB

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added a Readme.text file

1.1.0.0

Added a profile picture

1.0.0.0