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


相关推荐

  • java.lang.assertionerror_java parseint

    java.lang.assertionerror_java parseintMicrosoftVisualStudioSolutionFile,FormatVersion12.00#VisualStudio15VisualStudioVersion=15.0.26730.16MinimumVisualStudioVersion=10.0.40219.1Project(“{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC…

    2025年10月6日
    2
  • 使用HttpClient4,post提交multipart/form-data数据

    使用HttpClient4,post提交multipart/form-data数据问题由来: 在Vert.x的项目中,进行公众号开发的时候,发现回复用户图片的时候需要先上传图片,获取一个media_id,然后拿着这个media_id去发送数据。 问题是,Vert.x的vertx-web-client不提供表单文件上传(form-data)方式post请求。     于是,只能找一个HttpClient方法。发现组装一个这样的请求,并不简单解

    2022年7月22日
    18
  • Java Serialized 序列化 作用

    今天在看设计模式时,看到迪米特法则时,有一点,谨慎使用Serialized:一个项目中使用远程方法调用方式传递一个VO(值对象),这个对象就必须实现Serialized接口,也就是把需要网络传输的对象进行序列化,否则会出现NotSerialiableException异常。若VO修改了一个属性的权限,由private改为public访问权限变大了,如果服务器上没有做出相应的变更,就会报…

    2022年4月4日
    70
  • win10怎么完全卸载sql2012_软件卸载了数据还在吗

    win10怎么完全卸载sql2012_软件卸载了数据还在吗怎样才能将SQL Server2012彻底的卸载干净?因为安装目录加上实例目录加上就有10G,由于一些实例目录默认在系统C盘,占据了很大的一部分,又担心怕删除了重要的文件,又担心卸载删除不干净,会导致下一次的安装不成功。以下是彻底删除SQLServer的步骤:第一步,在控制面板里面找到程序——卸载程序这一项,打开之后就会是这样的了 第二步,经过第一步打开卸载程序后,在里面找到Microso…

    2022年10月2日
    2
  • Mac配置Android开发环境

    Mac配置Android开发环境1、下载jdk和AndroidStudio下载地址如下:jdk:https://www.oracle.com/java/technologies/javase-downloads.htmlAS:https://developer.android.google.cn/studio2、安装jdk安装,一直下一步,安装完成后打开“终端”,执行命令:java-version即可查看…

    2022年7月23日
    16
  • 思维导图☆三招十八式「建议收藏」

    思维导图☆三招十八式「建议收藏」思维导图三招十八式http://www.795.com.cn/wz/55075.html思维导图三招十八式之一:思维导图进行资料整理学习力的革命系列暂时结束,从今天开始转载三招十八式系列,这个系列都是讲思维导图的各种应用技巧。为了让大家知道具体是什么,我把文字版放在下面,看完后,觉得有用,请下载完全版,后面的附件就是  写在前面的话  关于思维导图软件的使用,一般来说是很简单的,这些软件的使用

    2022年10月21日
    4

发表回复

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

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