本文共 311 字,大约阅读时间需要 1 分钟。
•Thedistance transform provides a metric or measure of the separation of points inthe image. The bwdist function calculates thedistance between each pixel that is set to off (0) and the nearestnonzero pixel for binary images.
•The bwdist functionsupports several distance metrics, listed in the following table.
![](https://img-blog.csdn.net/20140813220624063?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvY29sZGRpZQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast)