File Exchange

image thumbnail

Robust cost function for designing chamfer masks

version 1.1 (4.44 MB) by Baraka Maiseli
This submission implements a robust cost function for designing chamfer masks

1 Download

Updated 03 Apr 2017

View Version History

View License

In this submission, we have implemented a robust optimization rule (cost function) that helps to design optimal chamfer weights for sequential distance transforms. The proposed cost function, called RLog, takes the absolute logarithm of the ratio between the measured and reference distance values. Also, the submission includes functions to generate integer-valued chamfer masks.
The corresponding paper for this submission is currently under peer-review.

Cite As

Baraka Maiseli (2020). Robust cost function for designing chamfer masks (https://www.mathworks.com/matlabcentral/fileexchange/59298-robust-cost-function-for-designing-chamfer-masks), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: PlotPub - Publication Quality Graphs in MATLAB

Community Treasure Hunt

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

Start Hunting!

chamferMasksDesign/computeIntegerWeights/

chamferMasksDesign/computeLimitsLocalWeights/

chamferMasksDesign/computeLobesAndEdgeGeometry/

chamferMasksDesign/computeMAE.SMAPE.RLog/

chamferMasksDesign/libPlot/

chamferMasksDesign/main/

chamferMasksDesign/mask33/

chamferMasksDesign/mask55/

chamferMasksDesign/mask77/