matlab函数bwlabel与bwlabeln的区别
1个回答
展开全部
Note: Comparing BWLABEL and BWLABELN
------------------------------------
BWLABEL supports 2-D inputs only, whereas BWLABELN support any
input dimension. In some cases you might prefer to use BWLABELN even
for 2-D problems because it can be faster. If you have a 2-D input
whose objects are relatively "thick" in the vertical direction,
BWLABEL will probably be faster; otherwise BWLABELN will probably be
faster.
两者区别不大。
bwlabel在二值图中目标区块垂直方向比较长的时候比较快,其他情况下,都是bwlabeln更快。
重要的一点是bwlabeln可以处理多维数组,而bwlabel只能接受二维的输入。
------------------------------------
BWLABEL supports 2-D inputs only, whereas BWLABELN support any
input dimension. In some cases you might prefer to use BWLABELN even
for 2-D problems because it can be faster. If you have a 2-D input
whose objects are relatively "thick" in the vertical direction,
BWLABEL will probably be faster; otherwise BWLABELN will probably be
faster.
两者区别不大。
bwlabel在二值图中目标区块垂直方向比较长的时候比较快,其他情况下,都是bwlabeln更快。
重要的一点是bwlabeln可以处理多维数组,而bwlabel只能接受二维的输入。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询