imfilter函数matlab_matlab too many input argument

imfilter函数matlab_matlab too many input argument认真研读一下MATLAB的help文档吧,解释最权威:BWFILLFillbackgroundregionsinbinaryimage.BWFILLisagrandfatheredfunctionthathasbeenreplacedbyIMFILL.BW2=BWFILL(BW1,C,R,N)performsaflood-filloperationont…

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

认真研读一下MATLAB的help文档吧,解释最权威:

BWFILL Fill background regions in binary image.

BWFILL is a grandfathered function that has been replaced by

IMFILL.

BW2 = BWFILL(BW1,C,R,N) performs a flood-fill operation on

the input binary image BW1, starting from the pixel (R,C). If

R and C are equal-length vectors, the fill is performed in

parallel from the starting locations (R(k),C(k)). N can have

a value of either 4 or 8 (the default), where 4 specifies

4-connected foreground and 8 specifies 8-connected

foreground. The foreground of BW1 comprises the “on” pixels

(i.e., having value of 1).

BW2 = BWFILL(BW1,N) displays the image BW1 on the screen and

lets you select the starting points using the mouse. If you

omit BW1, BWFILL operates on the image in the current

axes. Use normal button clicks to add points. Press

<BACKSPACE> or <DELETE> to remove the previously selected

point. A shift-click, right-click, or double-click selects

a final point and then starts the fill; pressing <RETURN>

finishes the selection without adding a point.

[BW2,IDX] = BWFILL(…) returns the linear indices of all

pixels filled by BWFILL.

BW2 = BWFILL(X,Y,BW1,Xi,Yi,N) uses the vectors X and Y to

establish a nondefault spatial coordinate system for BW1. Xi

and Yi are scalars or equal-length vectors that specify

locations in this coordinate system.

[X,Y,BW2,IDX,Xi,Yi] = BWFILL(…) returns the XData and YData

in X and Y; the output image in BW2; linear indices of all

filled pixels in IDX; and the fill starting points in Xi and

Yi.

BW2 = BWFILL(BW1,’holes’,N) fills the holes in the binary

image BW1. BWFILL automatically determines which pixels are

in object holes, and then changes the value of those pixels

from 0 to 1. N defaults to 8 if you omit the argument.

[BW2,IDX] = BWFILL(BW1,’holes’,N) returns the linear indices

of all pixels filled in by BWFILL.

If BWFILL is used with no output arguments, the resulting

image is displayed in a new figure.

Remarks

——-

BWFILL differs from many other binary image operations in

that it operates on background pixels, rather than foreground

pixels. If the foreground is 8-connected, the background is

4-connected, and vice versa. Note, however, that you specify

the connectedness of the foreground when you call BWFILL.

Class Support

————-

The input image BW1 must be a numeric or logical matrix. The output

image BW2 is logical.

See also bwselect, imfill, roifill,

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/194377.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 补码运算溢出判断方法是_一个8位二进制整数采用补码表示

    补码运算溢出判断方法是_一个8位二进制整数采用补码表示溢出判断方法一  用Xf和Yf表示被加数和加数补码的符号位,Zf为补码和的符号位。当出现Xf=Yf=0两数同为正,而Zf为负,即Zf=1时,有上溢。当出现Xf=Yf=1两数同为负,而Zf为正,即Zf=0时,有下溢。溢出判断方法二  当数值最高位有进位位C1=1,符号位没有进位C0=0时,或当数值最高位没有进位位C1=0,符号位有进位C0=1时,结果有溢出。溢出判断方法

    2022年9月22日
    3
  • C Primer Plus 第12章 12.6 分配内存:malloc()和free()

    C Primer Plus 第12章 12.6 分配内存:malloc()和free()

    2022年2月23日
    46
  • arrays.sort排序_js数组排序方法sort

    arrays.sort排序_js数组排序方法sortArrays.sort默认是升序,如果我们需要降序排列数组?Arrays.sort(distances);——升序Arrays.sort(distances,Collections.reverseOrder());——降序再说说Collections集合类,用来排序集合的Collections.sort(list)——升序Collections.reverse(list…

    2022年8月12日
    9
  • GridView导出Excel的超好样例「建议收藏」

    GridView导出Excel的超好样例「建议收藏」事实上网上有非常多关于Excel的样例,可是不是非常好,他们的代码没有非常全,读的起来还非常晦涩。经过这几天的摸索,最终能够完毕我想要导出报表Excel的效果了。以下是我的效果图。一.前台的页面图Gr

    2022年7月4日
    27
  • pycharm更改背景颜色[通俗易懂]

    pycharm更改背景颜色[通俗易懂] 

    2022年8月29日
    7
  • 冒泡排序详解_超详细电音

    冒泡排序详解_超详细电音1、什么是冒泡排序?冒泡排序的英文BubbleSort,是一种最基础的交换排序。之所以叫做冒泡排序,因为每一个元素都可以像小气泡一样,根据自身大小一点一点向数组的一侧移动。冒泡排序的原理:每一趟只能确定将一个数归位。即第一趟只能确定将末位上的数归位,第二趟只能将倒数第2位上的数归位,依次类推下去。如果有n个数进行排序,只需将n-1个数归位,也就是要进行n-1趟操作。而“每一趟”都需要从第一位开始进行相邻的两个数的比较,将较大的数放后面,比较完毕之后向后挪一位继续比较下面

    2022年10月19日
    3

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号