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

opencv均值迭代阈值法

于 2023-01-04 发布 文件大小:5.03 MB
0 136
下载积分: 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 个回复

  • PLC--elevator
    plc 的电梯控制程序,含有组态软件,控制算法。plc 采用三菱fx1n(plc elevator control program, containing configuration software)
    2014-02-20 21:17:01下载
    积分:1
  • s3c2410test_1
    三星2410板子自带的外围器件ads测试程序,做测试参考。(2410 board of Samsung s own ads peripheral device test procedures, test reference.)
    2007-11-29 23:34:48下载
    积分:1
  • StGEMultiCameraSample
    日本ricoh相机demo,包含include文件件和lib文件夹。( Japan ricoh camera demo, containing pieces include files and lib folders.)
    2013-12-03 17:39:07下载
    积分:1
  • key
    西南交通大学图形学实验的第二个,响应键盘的系统键和非系统键(Second, the system in response to keyboard keys and key non-system experiments Southwest Jiaotong University Graphics)
    2014-04-21 21:23:13下载
    积分:1
  • rn8209d
    stm32对于rn8209d直流电表上的应用驱动,包含电表校表过程,参数保存与上电取出!(STM32 for the rn8209d DC meter application drive, including the meter reading table process, parameter saving and power out!)
    2020-11-10 13:19:46下载
    积分:1
  • exam1
    使用API函数编的一个窗口示例程序,目的在于说明如何编写简单的应用程序(Compiled using the API function, a window sample program, the purpose is to describe how to write a simple application)
    2009-11-19 20:39:02下载
    积分:1
  • NMM
    数值流形方法的源代码,主要由于连续和非连续变形的分析,裂纹扩展的模拟等(NMM source code, mainly due to the continuous and discontinuous deformation analysis, simulation of crack propagation)
    2020-06-26 17:00:02下载
    积分:1
  • 基于QT的MP3播放器
    基于qt开发的音乐播发器,具有换肤功能,能够实现单曲循环、列表循环、顺序序播放等功能, 系统托盘功能,能在桌面显示歌词,有许多鼠标点击事件,操作人性化
    2022-12-11 08:35:04下载
    积分:1
  • Wavelet
    说明:  用C语言实现小波变换,有利于初学者更好的理解小波变换过程(Using C language to achieve wavelet transform, is conducive to a better understanding of beginners wavelet transform the process of)
    2021-01-25 21:48:43下载
    积分:1
  • ChangMenu
    在对话框中选择需要显示的view,创建相应的view的内容。(Select the view to be displayed in the dialog box, create the appropriate view of the content.)
    2013-12-01 21:06:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载