- 1、本文档共219页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
《数字图像处理 Digital Image Processing》课件 Spatial Domain Enhancement
Illustration of isotropic filters and its counterpart Enhancement using logic/arithmetic operations Lecture 6: Chapter 3 Spatial Domain Enhancement Three logic operations, two types of format: 1. Element-wise operator: (suitable for logical variable) Logic operations and their Matlab expression AND, A B = 01001 and(A,B) OR, A | B = 11101 or(A,B) NOT. ~A = 10010 not(A) A = [0 1 1 0 1]; B = [1 1 0 0 1]; Logical expression Equivalent function Lecture 6: Chapter 3 Spatial Domain Enhancement 2. Bit-Wise Functions: suitable for any non-negative integers The second format A = 28; % binary 11100 B = 21; % binary 10101 bitand(A,B) = 20 (binary 10100) bitor(A,B) = 29 (binary 11101) bitcmp(A,5) = 3 (binary 00011) AND OR NOT Lecture 6: Chapter 3 Spatial Domain Enhancement AND, OR are used for masking, ie. for selecting subimages in an image. In this case we need to use bit-wise functions—bitand, bitor. NOT logic performs the same function as the negative transformation. In this case we also need to use bit-wise functions— bitcmp Applicability Matlab demo: bitlogic.m Lecture 6: Chapter 3 Spatial Domain Enhancement Arithmetic operations A constant can be added to, subtracted from, multiplied to or even divided by the original image, resulting in changes in appearance. Arithmetic operations also can be carried out between two or more different images. Lecture 6: Chapter 3 Spatial Domain Enhancement Some effects of arithmetic operation Adding a constant will lighten the image and subtracting a constant will darken it. At the same time, some information are lost. Multiply a number greater than 1 will lighten the image, and less than 1 will darken it. Use following matlab functions to do above operation: imadd, imsubtract, immultiply, imdivide. Lecture 6: Chapter 3 Spatial Domain Enhancement Image subtraction example Lecture 6: Chapter 3 Spatial Domain Enhancement Compute the difference between all pairs of corresponding pixels from two im
您可能关注的文档
- 《基础会计》06 制造业企业主要经济业务核算(国家级精品课程).ppt
- 《基础会计》课件完整版.ppt
- 《基础会计学》英文教案讲义82页完整版 FUNDAMENTAL ACCOUNTING Lesson Notes.doc
- 《外国文学作品选读》课件PPT-19世纪外国文学.ppt
- 《外国文学作品选读》课件PPT-东方文学与亚非文学.ppt
- 《外国法制史》课件PPT-第00章 绪论.ppt
- 《外国文学作品选读》课件PPT-印度、日本、韩国文学.ppt
- 《外国法制史》课件PPT-第05章 古希腊法.ppt
- 《外国法制史》课件PPT-第07章 日耳曼法.ppt
- 《外国法制史》课件PPT-第08章 教会法.ppt
文档评论(0)