Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
此函数bwmorph (Img,' skel ', Inf ) 返回二值图像的骨架。
我正在寻找的是这个函数用来手动执行它的算法?
该文档提供了算法的概述(向下滚动)。
如果您想在 MATLAB 中查看函数中的实际代码,可以尝试使用TYPE命令:
type bwmorph %# Command form type('bwmorph.m') %# Function form
请记住,这不适用于所有 MATLAB 函数。您可能会收到一条消息,指出该函数是内置函数,在这种情况下,代码将不会显示。您也可以尝试使用EDIT命令在 MATLAB 编辑器中打开文件:
edit bwmorph.m %# Command form edit('bwmorph.m') %# Function form