binaryImage = imread6bmp; binaryImage = im2bwbinaryImage; 将二值图像转换为二维矩阵 skeletonImage = bwmorphbinaryImageskelInf; pixelLength = 01; branchPoints = bwmorphskeletonImagebranchpoints; endPoints = bwmorph
将以下代码
skeletonImage(junctionPoints) = false;
修改为
skeletonImage(junctionPoints > 0) = false;
原文地址: https://www.cveoy.top/t/topic/bsKu 著作权归作者所有。请勿转载和采集!