matlab函数bwlabel与bwlabeln的区别
来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/08/17 22:56:45
matlab函数bwlabel与bwlabeln的区别
![matlab函数bwlabel与bwlabeln的区别](/uploads/image/z/17159180-68-0.jpg?t=matlab%E5%87%BD%E6%95%B0bwlabel%E4%B8%8Ebwlabeln%E7%9A%84%E5%8C%BA%E5%88%AB)
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只能接受二维的输入.