登录
首页 » c++ » opencv均值迭代阈值法

opencv均值迭代阈值法

于 2023-01-04 发布 文件大小:5.03 MB
0 109
下载积分: 2 下载次数: 2

代码说明:

是在Mac OS X EI Capitan系统上,运行平台是Clion,用OpenCV2.4.11版本,cmake编译,这是一个图像处理中均值迭代阈值法对图像进行区域分割的实现,基本的步骤为: 1)选择一个初始化阈值T,通常取灰度值的平均值; 2)使用阈值T将图像的像素分为两部分:G1包含的灰度大于T,G2包含的灰度小于T; 3)计算G1中所有像素的均值u1以及G2中所有像素的均值u2; 4)更新T=(u1+u2)/2; 5)重复步骤2)~4),直到相邻两次计算的结果小于一个预先确定的值Threshold; 6)用这个Threshold阈值作为最后的阈值进行分割

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

发表评论

0 个回复

  • 指纹机实时采集
    读取卡机信息需要根据实际情况获取数据库信息
    2022-09-19 18:20:03下载
    积分:1
  • 德卡Z90读卡器CSharp示例
    德卡Z90读卡器CSharp示例,读取卡信息(Decca Z90 reader CSharp example)
    2018-11-17 09:27:02下载
    积分:1
  • C++ LSTM学会A+B
    LSTM(Long Short-Term Memory)是长短期记忆网络,是一种时间递归神经网络,适合于处理和预测时间序列中间隔和延迟相对较长的重要事件。 LSTM 已经在科技领域有了多种应用。基于 LSTM 的系统可以学习翻译语言、控制机器人、图像分析、文档摘要、语音识别图像识别、手写识别、控制聊天机器人、预测疾病、点击率和股票、合成音乐等等任务。 而本程序则是利用LSTM让计算机学会二进制加法
    2022-04-18 03:35:25下载
    积分:1
  • dirty glass
    建立一个透明物体上有污点的模型,可以模拟玻璃上有污点的图象(Rendering of clean transparent objects has been well studied in computer graphics. However, real-world transparent objects are seldom clean—their surfaces have a variety of contaminants such as dust, dirt, and lipids. These contaminants produce a number of complex volumetric scattering effects that must be taken into account when creating photorealistic renderings. In this paper, we take a step toward modeling and rendering these effects. We make the assumption that the contaminant is an optically thin layer and construct an analytic model following results in radiative transport theory and computer graphics. Moreover, the spatial textures created by the different types of contamination are also important in achieving visual realism. To this end, we measure the spatially varying thicknesses and the scattering parameters of a number of glass panes with various types of dust, dirt, and lipids. We also develop a simple interactive synthesis tool to create novel instances of the me)
    2009-07-11 17:13:08下载
    积分:1
  • stm32f051源码.涉及SPI连接LCD屏,485通讯,继电器过零检测
    stm32f051源码.涉及SPI连接LCD屏,485通讯,继电器过零检测代码工整有注释
    2023-05-13 07:40:03下载
    积分:1
  • 单神经元PID,自适应PID算法
    单神经元PID,自适应PID算法,可以用于PID 参数整定困难的场合.(Single neuron PID adaptive PID algorithm can be used for PID parameter tuning difficult occasions.)
    2012-07-07 23:11:13下载
    积分:1
  • PEBrowseV10_1_5
    PE Explorer & Windows DLL Disassembly
    2018-03-21 13:53:56下载
    积分:1
  • cabsdk
    Microsoft Cabinet SDK,CAB SDK开发包,Microsoft Cabinet library,制作cab压缩包,自解压开发包,可制作自己的通用安装程序(Microsoft Cabinet SDK,Microsoft Cabinet library)
    2010-12-06 23:32:53下载
    积分:1
  • IEEE4-5-14-30-57-118-300
    潮流计算,IEEE30节点的潮流计算,和牛顿法的程序报告 (power flow)
    2012-09-26 15:11:01下载
    积分:1
  • QML CPlusePluse 2
    说明:  OpenCv QML C++ 的混合编程,实现图处理等功能(QML C++ mixed programming using qquick to develop front-end interface open library and logic layer using C++ development)
    2020-06-23 15:20:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载