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.
引用格式
Baraka Maiseli (2024). Optimization of chamfer masks (https://www.mathworks.com/matlabcentral/fileexchange/71652-optimization-of-chamfer-masks), MATLAB Central File Exchange. 检索来源 .
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.
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Region and Image Properties >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Codes
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |