网站大量收购独家精品文档,联系QQ:2885784924

[工学]Image Segmentation 图像分割——数字图像处理.ppt

[工学]Image Segmentation 图像分割——数字图像处理.ppt

  1. 1、本文档共35页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[工学]Image Segmentation 图像分割——数字图像处理

Chapter 5 Image Segmentation Image segmentation, a process of pixel classi?cation, aims to extract or segment objects or regions from the background. 5.1 Thresholding Thresholding is based on different intensities or colors in the foreground and background regions of an image. Thresholding If the intensity of foreground is quite distinct from that of background,it will be clear to apply thresholding for image segmentation. Thresholding Thresholding The algorithm of calculating global threshold: step1:Choose an initial threshold n0 or calculate the mean value of the image as the initial; step2:Calculate the two mean values m1 and m2 within the two groups of pixels after thresholding at n. And calculate the new threshold valuel n1=0.5*(m1+m2) step3:If n1(new value)has a little change or even no any change comparing with n(the last value), then the threshold selection is done; otherwise, go back to step 2. Thresholding example: compute the average gray value of the image:n0=2.5781. calculate the mean values of the two sections: n1=0.5*(m1+m2)= 4.5312. calculate the new threshold value with threshold n1: n2=0.5*(m1+m2)=4.5312. Since n1=n2, the best threshold value is 4.5312. 5.2 Detection of Isolated Point Point detection mask: The intensity of an isolated point will be quite different from its surroundings, so it can be easily detected by the mask. Detection of Isolated Point Detection of Isolated Point clc;clear all; h1=[1 1 1;1 -2 1;1 1 1]; h2=[1 1 1;1 -5 1;1 1 1]; h3=[1 1 1;1 -7 1;1 1 1]; I=imread(D:\images\point_detection.png); I1=rgb2gray(I); J1=conv2(I1,h1); J2=conv2(I1,h2); J3=conv2(I1,h3); subplot(221),imshow(I);title(original image); subplot(222),imshow(J1);title(point detection with -2); subplot(223),imshow(J2);title(point detection with -5); subplot(224),imshow(J3);title(point detection with -7); Detection of Isolated Point 5.3 Line Detection 4 mask of line detection: Line Detect

文档评论(0)

hhuiws1482 + 关注
实名认证
内容提供者

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

版权声明书
用户编号:5024214302000003

1亿VIP精品文档

相关文档