MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   骨架的算法是什么 (https://www.labfans.com/bbs/showthread.php?t=23466)

poster 2019-12-10 20:41

骨架的算法是什么
 
此函数[B]bwmorph[/B] (Img,' [B]skel[/B] ', [B]Inf[/B] )返回二进制图像的框架。

我要寻找的是此功能手动执行的算法?



[B]回答:[/B]

如果要查看MATLAB中函数中的实际代码,可以尝试使用[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/type.html"]TYPE[/URL]命令:

type bwmorph %# Command form type('bwmorph.m') %# Function form 请记住,这不适用于所有MATLAB函数。您可能会收到一条消息,指出该函数是内置函数,在这种情况下,将不会显示代码。您也可以尝试使用[URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/edit.html"]EDIT[/URL]命令在MATLAB编辑器中打开文件:

edit bwmorph.m %# Command form edit('bwmorph.m') %# Function form

[url=https://stackoverflow.com/questions/2885681]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:13

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.