9.Neighborhoodoperations讲稿.pptVIP

  1. 1、本文档共31页,可阅读全部内容。
  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文档。上传文档
查看更多
视觉系统—原理与应用 黄玉波 Neighborhood operation Neighborhood operation Sliding neighborhood operation Distinct block operation Columnwise operation 邻域操作 邻域:远远小于图像尺寸的形状规则的像素块,一般为m×n的方形区域。 邻域操作是图像处理中的基本运算之一,是多种常用图像处理操作的基本运算方式。 邻域操作的分类: 滑动邻域操作(sliding neighborhood operation) 分离邻域操作(distinct block operation) Sliding Neighborhood Operation A sliding neighborhood operation is an operation that is performed a pixel at a time, with the value of any given pixel in the output image being determined by the application of an algorithm to the values of the corresponding input pixels neighborhood. A pixels neighborhood is some set of pixels, defined by their locations relative to that pixel, which is called the center pixel. The neighborhood is a rectangular block, and as you move from one element to the next in an image matrix, the neighborhood block slides in the same direction. 滑动邻域操作 滑动邻域操作(sliding neighborhood operation)一次处理一个像素,输出图像的每一个像素都是通过对输入图像某邻域内的像素值进行某种运算得到。 特点: 当邻域操作从图像矩阵的一个位置移动到另一个位置时,滑动邻域也朝相同的方向移动。 对邻域超出边界的像素自动填充零值。 以像素为单位进行处理(核心:中心像素)。 每次邻域操作返回一个标量值。 输出图像的大小与输入图像大小一致。 滑动邻域操作 中心像素 中心像素(center pixel)是输入图像真正要进行处理的像素。 中心像素的定位: 若邻域的行和列都为奇数,则中心像素为邻域最中心位置的像素 若邻域的行或列有一维为偶数,设邻域为m×n的,则中心像素为: floor(([m n]+1)/2) 即,中心像素位于中心偏左或偏上方。 中心像素 floor(([m n]+1)/2) 行: (3+1)/2=2 floor(2)=2 列: (4+1)/2=2.5 floor(2.5)=2 滑动邻域操作的步骤 To perform a sliding neighborhood operation: Select a single pixel. Determine the pixels neighborhood. Apply a function to the values of the pixels in the neighborhood. This function must return a scalar. Find the pixel in the output image whose position corresponds to that of the center pixel in the input image. Set this output pixel to the value returned by the function. Repeat steps 1 through 4 for each pixel in the input image. 滑动邻域操作作用 You can use sliding neighborhood operations to implement many kinds of filtering operations. One example of a sliding neighbor operation is convolution, which is used to implement linear filtering. In addition t

文档评论(0)

希望之星 + 关注
实名认证
文档贡献者

我是一名原创力文库的爱好者!从事自由职业!

1亿VIP精品文档

相关文档