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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • Git安装教程(详细教程)

    Git安装教程(详细教程)Git安装教程大家好,今天我们来学习一下怎么安装git这个软件,好好看,好好学,超详细的。第一步下载git(找到自己需要的版本)第二步下载完点击安装包进入使用许可声明界面第三步点击Next进入选择安装路径界面这里我是选择装在D盘,大家如果嫌麻烦就默认安装在C盘第四步点击Next进入选择安装组件界面上图红框内的选项是默认勾选的,建议不要动。绿色框1是决定是否在桌面创建快捷方式的。绿色框2是决定在所有控制台窗口中使用TrueType字体和是否每天检查Git

    2022年5月1日
    47
  • 如何安装Pycharm_pycharm安装教程2020

    如何安装Pycharm_pycharm安装教程2020安装方法:1、安装配置好Python环境;2、从官网下载pycharm安装程序;3、直接双击下载好的exe文件,进入安装向导界面,按照指示一步步操作;4、点击Install进行安装,等待安装完成后,点击Finish结束安装即可。本教程操作环境:windows7系统、Python3.5.2版本、DellG3电脑。首先我们来安装python1、首先进入网站下载:点击打开链接(或自己输入网址http…

    2022年8月25日
    6
  • docker学习

    docker学习学习视频:https://www.bilibili.com/video/BV1R4411F7t9?from=search&seid=17327712472204933619准备工作:登录

    2022年7月2日
    27
  • layui table样式_layui table 分页

    layui table样式_layui table 分页table的结构:       序号   登录账号   用户名   权限   操作          ${(user.id)!”}   ${(user.userAccount!”)}   ${(user.userName!”)}   ${(user.

    2025年12月7日
    3
  • 利用charles抓包

    利用charles抓包charles是一款http抓包软件,和fiddler极为相似,所以大家就会问,为啥不用fiddler呢,因为mac没有fiddler。而且charles还是付费版本。所以我们这里从安装破解到抓包成功一步一步讲清楚。下载并安装我们进入charles官网进行下载:https://www.charlesproxy.com/latest-release/download.do,我是mac,所以选择其中的macOS下载dmg包之后我们正常的安装,安装完成打开,大概就是这样的模样破解我们打开激活码生成界

    2022年6月6日
    48
  • 安装DingoApi「建议收藏」

    安装DingoApi「建议收藏」安装DingoApi

    2022年4月24日
    34

发表回复

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

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