登录
首页 » 算法 » 图像分割方法

图像分割方法

于 2022-04-19 发布 文件大小:79.40 MB
0 175
下载积分: 2 下载次数: 1

代码说明:

 img——待分割的源图像,必须是8位3通道(CV_8UC3)图像,在处理的过程中不会被修改;    mask——掩码图像,如果使用掩码进行初始化,那么mask保存初始化掩码信息;在执行分割的时候,也可以将用户交互所设定的前景与背景保存到mask中,然后再传入grabCut函数;在处理结束之后,mask中会保存结果。mask只能取以下四种值:                    GCD_BGD(=0),背景;                    GCD_FGD(=1),前景;                    GCD_PR_BGD(=2),可能的背景;     &nb

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 冒泡排序
    冒泡排序-bubble sort
    2022-02-01 03:11:51下载
    积分:1
  • 利用快速傅立叶变换间接计的Hilbert变换。程序已测试,效果很好...
    利用快速傅立叶变换间接计算的Hilbert变换。程序已测试,效果很好-The use of Fast Fourier Transform Hilbert transform calculated indirectly. Procedures have been tested, the effect of good
    2022-03-15 17:45:20下载
    积分:1
  • 这是最小二乘多项式拟合的 很有参考价值的程序,
    这是最小二乘法多项式拟合的算法 很有参考价值的程序,-This is the least squares polynomial fitting algorithm is very useful procedure,
    2022-03-22 18:59:30下载
    积分:1
  • fourier transform and MATLAB
    fourier transform and MATLAB
    2022-01-25 16:39:32下载
    积分:1
  • vs2005开发的apriori程序,实现的基本功能,获取关联规则...
    vs2005开发的apriori算法程序,实现算法的基本功能,获取关联规则-apriori algorithm vs2005 development process, achieve the basic functions of algorithm to obtain association rules
    2022-11-19 12:25:03下载
    积分:1
  • GNjava实现
    这是一个经典的社团划分,采用GN算法思想, 基本上是从昨天开始吧,着手复杂网络的GN算法,整个过程包括从GML文件中提取邻接矩阵数据,GN算法的实现,模块度的计算。 (1)GML文件的读取。做GN的时候首次知道GML(Graph Model Language),GML (Graph Modelling Language): There are many different programs that work with graphs but almost all of them use their own file format. As a consequence, exchanging graphs between different programs is almost impossible. Simple tasks like exchange of data, externally reproducible results or a common benchmark suite are much harder than neccessary. Therefore, we have developed a new file format for the Graphlet system: GML. GML supports attaching arbitrary information to graphs, nodes and edges, and is therefore able to emulate almost every other format. 从上面的英文中我们可以知道,GML是一种文件格式,试图统一大家对图结构的表达形式。这样,会很方便大家的交互,比如程序的利用。我们主要工作是从GM
    2022-02-20 11:14:43下载
    积分:1
  • VB2008 从入门到精通
    vb2008从入门到精通例子代码,清华大学出版社,著名计算机图书作家精心编著,配合最新工具全面升级,大量可重阳的范例代码
    2022-03-22 14:43:35下载
    积分:1
  • (原创)非常有用的公历转农历、农历转公历(农历数据至2100年)
    从1920至2100年近200年的公历转农历,农历转公历算法代码,完全正确,无需修改直接使用。
    2022-03-20 14:14:20下载
    积分:1
  • CRC校验码
    RTU通信技术的校验实现,labview程序下的,需要的人可以试试,通过测试完全可用,希望大家共同进步。谢谢
    2022-07-27 16:57:22下载
    积分:1
  • This code gets a text file which is output of simple scalar profiling command an...
    This code gets a text file which is output of simple scalar profiling command and process it, it extracts sequences of logical operations like and, or, shift.
    2023-03-28 01:35:04下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载