第十三讲-图像分割.pptVIP

  1. 1、本文档共40页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  5. 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  6. 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  7. 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  8. 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Thresholding Thresholding In case of (a): light objects in dark background To extract the objects: Select a T that separates the objects from the background i.e. any (x,y) for which f(x,y)T is an object point. Multilevel Thresholding In case of (b): a more general case of this approach (multilevel thresholding) Segment image as follows: To one object class if T1f(x,y)≤T2 To the other if f(x,y)T2 To the background if f(x,y)≤T1 Thresholded Image A thresholded image is defined as: Thresholding Thresholding can be viewed as an operation that involves tests against a function T of the form: where p(x, y) denotes some local property of this point (x, y), i.e., the average level of a neighborhood centered on (x, y). If T does not depend on p(x, y) then the threshold is called global threshold, otherwise it is called local or adaptive threshold. Threshold Type When T depends only on f(x,y) ? global threshold When T depends on both f(x,y) and p(x,y) ? local threshold When T depends on x and y (in addition) ? dynamic threshold Basic Global Thresholding Assume that the background and the object occupy comparable areas in the image, a good initial value of T is the average gray level of the image. 1. Select an initial estimate for T. 2. Segment the image into two group of pixels G1 and G2 using T. 3. Compute the average gray level values of G1 and G2 are μ1 and μ2. 4. Compute a new threshold value as Tnew=(μ1+μ2)/2, 5. Compare if |Tnew-T|z0 ( predefined thredhold z0) then T=Tnew and go to step 2, else stop 用下面的算法(P599)可以自动的得到阈值T: 选择一个T的初始估计值 用阈值T分割图像,这样会生成两组像素:G1为所有灰度值大于T的像素组成,G2由所有灰度值小于T的像素组成。 分别计算区域G1、 G2所有像素的平均灰度值μ1、μ2 计算新的阈值: 重复2到4,直到T值之差小于事先定义的参数T0 全局阈值分割 T0=0 T=125.4 3. 最小误差的方法 若以阈值t进行分割时,把目标像素错分为背景像素的概率为 把背景像素错分为目标像素的概率为 总的错误概率为 为使这个误差最小 因为假设背景与前景的灰度分布都是正态分布的 带入可得 二、局部阈值方法 若分割过程中对图像上每个像素所使用的阈值不相等,则为局部阈值方法。 通常用于照度不均匀或灰度连续变化的图像的分割。 三、动态阈值方法 当照明不均匀、有突发噪声或者背景变化比较大的时候,整幅图像将没有一个合适的单一阈值。这时可以对图像进行分块处理,进一步细分为子图像,对每子图像分别选定一个阈值进行分割。这种方法的关键问题是如何将图像进行细分和如何为得到的子

文档评论(0)

宋江 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档