版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、会计学1数字图像处理冈萨雷斯第三数字图像处理冈萨雷斯第三(d sn)英文英文翻译翻译第一页,共105页。第2页/共105页第二页,共105页。image processingimage analysisImage understandingAbstract degreeData quantityImage foundation第3页/共105页第三页,共105页。1.1 From image to image engineering第4页/共105页第四页,共105页。第5页/共105页第五页,共105页。The image on the left is the image processin
2、g technique . Used to test computer algorithms A standard image of actual effects . The name of this image is lenna . It is made up of a set of numbers. Original image The width and height are 256 pixels each .There are eight bits in pixels. It is in BMP form at About 66K bytes in size.第6页/共105页第六页,
3、共105页。1.1.2 Image technology and image engineering1.1.2 Image technology and image engineering第7页/共105页第七页,共105页。第8页/共105页第八页,共105页。image processingimage understandingimage analysisAbstract degreeData quantityImageDataSymbol第9页/共105页第九页,共105页。第10页/共105页第十页,共105页。第11页/共105页第十一页,共105页。第12页/共105页第十二页,共
4、105页。第13页/共105页第十三页,共105页。This is a color picture in pgm format第14页/共105页第十四页,共105页。This is the pgm format, color photos, 16 part system code. The original code is not a string of branches. Its written in the form of a branch (attention: LF= SP= newline; space; #= comment line):0 x50 0 x35 0 x0A exp
5、ressP5 (LF);0 x23 0 x20 0 x20 0 x49 0 x0A expess #(SP)(SP)I(LF) ; 0 x36 0 x34 0 x30 0 x20 0 x34 0 x38 0 x30 0 x0A express 640(SP)480(LF); 0 x32 0 x35 0 x35 0 x0A expess 255(LF)0 x27 0 x27 express 23, 23,(Pixel gray value)第15页/共105页第十五页,共105页。第16页/共105页第十六页,共105页。The decoding of this image file:P5# I
6、mported from SUN image: LEGGO_HOUSE_1.0.intensity640 4802550 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x26 0 x27 0 x27 0 x27 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x26 0 x27 0 x26 0 x27 0 x28 0
7、 x27 0 x27 0 x26 0 x27 0 x27 0 x27 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x28 0 x28 0 x27 0 x28 0 x29 0 x28 0 x27 0 x28 0 x28 0 x28 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x27 0 x28 0 x27 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x28 0 x29 0 x29 0 x29 0 x28 0 x28 0 x28 0 x28. 第17页/共105页第十
8、七页,共105页。第18页/共105页第十八页,共105页。第19页/共105页第十九页,共105页。第20页/共105页第二十页,共105页。第21页/共105页第二十一页,共105页。人眼(rn yn)成像Density and distribution of cones and column cells第22页/共105页第二十二页,共105页。第23页/共105页第二十三页,共105页。第24页/共105页第二十四页,共105页。第25页/共105页第二十五页,共105页。第26页/共105页第二十六页,共105页。第27页/共105页第二十七页,共105页。According to
9、the structure of the human eye, all colors are different combinations of three basic colors 第28页/共105页第二十八页,共105页。All colors can be regarded as the superposition of three basic colors, can be seen as the three color (a color removal from white) superposition第29页/共105页第二十九页,共105页。Three basic features
10、 of color: gray, hue and saturation, and the latter are called chromaticity. The gray scale is proportional to the reflectivity of the object; the hue is related to the main spectrum in the light; the saturation is related to the purity of the hue. The three stimuli that make up the color C are X, Y
11、, Z, and the percentages are x, y, ZX = X/ (X+Y+Z), y = Y/ (X+Y+Z), z = 1 - X - Y.第30页/共105页第三十页,共105页。第31页/共105页第三十一页,共105页。xZ(X,Y,Z)0第32页/共105页第三十二页,共105页。第33页/共105页第三十三页,共105页。第34页/共105页第三十四页,共105页。第35页/共105页第三十五页,共105页。第36页/共105页第三十六页,共105页。第37页/共105页第三十七页,共105页。Given the spatial resolution, the
12、 quality of the image can be improved by adaptive sampling process according to the image characteristics. For example, areas with large variations in gray levels should be sampled more closely. Also, for example, the frequency of all gray values can be calculated. If a range of gray values appear f
13、requently, and in other areas, the gray values appear more sparse, then in this range, the quantization gray scale is more dense, and in other areas less dilute.第38页/共105页第三十八页,共105页。第39页/共105页第三十九页,共105页。第40页/共105页第四十页,共105页。第41页/共105页第四十一页,共105页。3.1 pixel connection第42页/共105页第四十二页,共105页。For exampl
14、e, the upper left corner and the lower right corner of the figureThe connection by 4- is disconnected;The connection by m- is connected;The 8- connection is connected, but the path is not unique.The distance between two pixels P and Q, i.e., a function that satisfies the following three conditions D
15、: D(p,q) 0, if and only if p=q,D(p,q)=0. D(p,q)= D(q,p), D(p,q) +D(q,r) D(p,r).第43页/共105页第四十三页,共105页。10111.4011112222011111111111111111111111What is the distance from pixel to boundary in the rightmost graph?Each pixel to center distance D :第44页/共105页第四十四页,共105页。Complex coordinate transfor
16、mations are their cascade.Is cut and error the product of three fundamental transformations?第45页/共105页第四十五页,共105页。Morphological transformationTables and rulesAnalytic formulaDiscontinuouscontinuityUnsmoothsmoothlinearNonlinearAffine transformationeuclidean transformationRigid body transformationSimi
17、larity transformationTranslation transformationRotation transformationScaling transformation第46页/共105页第四十六页,共105页。111213212223313233xxyyzzqhhhpqhhhpqhhhpTAtqpvuWhere A is the 2 long 2 matrix. The projective transformation can be written in the form of nonsingular three order homogeneous matrices. No
18、te: in general, the projection is a nonlinear transformation of the two order, but it can be written in the homogeneous form of the three order matrix.Affine transformation is a nonsingular linear transformation coupled with a translation transformation:111212122210011xxyyqaatpqaatp01Atqpor第47页/共105
19、页第四十七页,共105页。第48页/共105页第四十八页,共105页。第49页/共105页第四十九页,共105页。第50页/共105页第五十页,共105页。( , ),( , ).xs x yyt x y The simplest case is linear:123456( , ),( , ).s x yk xk ykt x yk xk ykThe more complicated situation is the two:2212345622789101112( , ),( , ).s x ykk xk yk xk xyk yt x ykk xk yk xk xyk yIf you kno
20、w the analytic expressions of S (x, y) and t (x, y), you canInverse function to get X and y.第51页/共105页第五十一页,共105页。For a quadrilateral space transformation, four corresponding vertices can be determined first,Then, the method of bilinear interpolation is used:12345678,.xk xk yk xykyk xk yk xyk Questi
21、on: how can I use linear interpolation of two times ?If the area of geometric distortion is relatively large, then, if the blocks are used .Whats the effect of the correction?第52页/共105页第五十二页,共105页。There are two schemes: forward mapping and backward mappingForward mapping: assigning the gray values o
22、f pixels of a distorted image from the actual collection to the originalPixels of undistorted images. If the pixel P of the distorted image is mapped to Q, the Q fallsThe gray values of these four points are taken between the pixels of four original undistorted imagesThe bilinear interpolation is us
23、ed as the gray value of the pixel Q.第53页/共105页第五十三页,共105页。Interpolation gray calculation: - Zero order interpolation: take the gray of the nearest point- Bilinear interpolation:- Three linear interpolation:第54页/共105页第五十四页,共105页。122111121344333343( )( (,)( ,)( ,)( )( (,)(,)(,).xxg Eg xyg x yg x yxxxx
24、g Fg xyg xyg xyxxThen ( ,)( ( )( )( ).EFEyyg x yg Fg Eg Eyy 第55页/共105页第五十五页,共105页。第56页/共105页第五十六页,共105页。第57页/共105页第五十七页,共105页。1200( )( )()( ),111( )( )()( )()( )( ).niinniiiiE gE fEeE fD gD fDeD fDeD fD ennn第58页/共105页第五十八页,共105页。第59页/共105页第五十九页,共105页。t0Original grayNew gray scales第60页/共105页第六十页,共105
25、页。L-1L-10Original grayNew gray scaled第61页/共105页第六十一页,共105页。S1S2L-10L-1第62页/共105页第六十二页,共105页。第63页/共105页第六十三页,共105页。st第64页/共105页第六十四页,共105页。st第65页/共105页第六十五页,共105页。0()/ .kHkiiEsnn()/skkp snn0,1,.,1.kL0,1,.,1.kL第66页/共105页第六十六页,共105页。L-1L-1Ps(sk)EH(sk)kk第67页/共105页第六十七页,共105页。00()( ),01,0,1,.,1.kkikHksik
26、iintEsp sskLnEH(sk) is a monotonically increasing function, which is equal to the proportion of pixels below sk in gray scale. You can write inverse functions:1( ),01,0,1,.,1.kHkksEttkLsktksktk第68页/共105页第六十八页,共105页。00( )( ),0,1,.,1.kkikHiintEkp k kLn第69页/共105页第六十九页,共105页。的pk第70页/共105页第七十页,共105页。,0(
27、)( ),0,1,.,1.kkH siiitEsp skM0()(),0,1,.,1.llHjujjvEup ulNThe transformation inversion needs to determine the corresponding rules.SML selects the lower K and l: for the lower type00( )()klsiujijp sp u第71页/共105页第七十一页,共105页。GML uses group mapping rules with an integer function(l), l=0,N-1,let 0I(0) I(
28、1) I(N-1) M-1. Now make sure that.( )00( )()I llsiujijp sp uMinimum I(l)。If l0,let i=0,I(0)的ps(si) corresponds to pu(u0),otherwise ,将i=I(l-1)+1,I(l)的ps(si) corresponds to pu(ul).第72页/共105页第七十二页,共105页。第73页/共105页第七十三页,共105页。第74页/共105页第七十四页,共105页。221( )exp,1,.,1, .22if iinnnn Optional template M=2n+1,
29、n=2 +1. 3 is also useful as a window radius.第75页/共105页第七十五页,共105页。第76页/共105页第七十六页,共105页。第77页/共105页第七十七页,共105页。第78页/共105页第七十八页,共105页。,.TTxyfffG Gxy Two to replace the differential quotient :1/22221,max,.xyxyxyfmagfGGfGGfGG第79页/共105页第七十九页,共105页。maxmaxminmin( , ),( , )( , )( , )( , );( ( , )( , ),gx yg
30、x yf x yf x ygx yS f x ygx y如果其他.Iterative implementation of maximum and minimum sharpening transformations:1( ( , )( ( , ).nnSf x yS Sf x y第80页/共105页第八十页,共105页。第81页/共105页第八十一页,共105页。Image transformationSeparable transformationStatistical transformationFourier transformOther transformationsHotelling
31、 transform第82页/共105页第八十二页,共105页。10( )( ) ( , )NxT uf x g x u0,1,.,1.uN10( )( ) ( , )Nuf xT u h x uG (x, u) is called forward transform kernel0,1,.,1.xNh (x, u) is called the inverse transform kernel2D transform: T (u, v) is the transformation of f (x, y)1100( , )( , ) ( , , , ),0,1,.,1.NNxxT u vf x
32、y g x y u vu vN1100( , )( , ) ( , , , ),0,1,.,1.NNxxf x yT u v h x y u vx yN第83页/共105页第八十三页,共105页。12( , , , )( , )( , ).g x y u vg x u gy vIf g1 = g2,then1( , , )( , ) ( , ),( , )exp2/.g x y u vg x u g y vg x ujxuNN10( , )( , ) ( , ),0,1,.,1.NxS u yf x y g u xu yNThe 2D symmetric separable transform
33、ation can be written as two successive 1D transformations:10( , )( , ) ( , ),0,1,.,1.NyT u vS u y g y vu vNRespectively, remember S (x, V), f (x, y), G (y, V) and T (U, V) composed of the matrix for S, F, A and T, then, S (x, V) is the line A of line u and F of the column y product, that is, S=AF, a
34、nd T (U, V) is the line S of u and G of the column V product, that is, T=SA.T = SA = AFA.第84页/共105页第八十四页,共105页。第85页/共105页第八十五页,共105页。, 2( )( )j tuRF uf t edt22( )( )j tuRf tF u eduThe discrete 1 dimensional Fu Liye transform (DFT) and the inverse transformation formula are101( )( )exp2NxxuF uf xjNN1
35、0( )( )exp 2Nuxuf xF ujN,u = 0, 1, N-1;,x=0,1,N-1.Here, f (x) is interpreted as a discrete function , ( )()f xf x xExcept x=0,1,. Outside N-1, f (x) is equal to zero.第86页/共105页第八十六页,共105页。101(0)( )NxFf xNDiscrete 2 dimensional Fu Liye transform (DFT) and inverse transformation formula.11001( , )( ,
36、)exp 2()MNxyxuyvF u vf x yjMNMN1100( , )( , )exp2()MNuvxuyvf x yF u vjMN( , )f x y( , )F u v(,)f x x y y(,)F u u v vu v u=0,1, M-1, v=0,1,N-1; x=0,1,M-1, y=0,1,N-1.Be writtened as 第87页/共105页第八十七页,共105页。( , )Re ( , )Im ( , ) |( , )|exp( , ),F u vF u vF u vF u vju v222),(Im),(Re| ),(|vuFvuFvuF),(Re/),
37、(arctanIm),(vuFvuFvuIt is worth noting that the monitor does not correctly display F (U, V). This is because the Fourier transform is like a complex matrix. You must show the real and imaginary parts of it, or its modules and angles.Properties of two-dimensional DFT:1、 Separability 10102exp),(12exp1
38、),(NyMxMxujyxfMNyvjNvuF第88页/共105页第八十八页,共105页。10102exp),(2exp),(NvMuMuxjvuFNvyjyxf11001122( , )( , )expexpNMyxj xuj yvF u vf x yNMMN110022( , )( , )expexpNMvuj uxj vyf x yF u vMN ),()(2exp),(0000vvuuFNyvMxujyxf)(2exp),(),(0000NvyMuxjvuFyyxxf2、 Translational property第89页/共105页第八十九页,共105页。yxyxfyxjyxfNv
39、MuF) 1)(,()(exp),() 2/, 2/(第90页/共105页第九十页,共105页。第91页/共105页第九十一页,共105页。),(),(),(NvuFvuFvMuF),(),(),(NyxfyxfyMxfIf f is real function ,then ),(),(vuFvuF11001()()(,)( , )exp 2()( , )MNxyxuyvFuvf x yjF u vMNMNIn fact,第92页/共105页第九十二页,共105页。If f is a real function, then),(),(vuFvuF 4 4、 Rotational property Rotational property x = r cos, y = r sin,和u = w cos,v = w cos,then),(),(0101wFrf)sin(),cos()sin,cos()sin(),cos()sin(),cos(00)(cos(2)cos(200)sinsincoscos(2000222wwFdrrderrfdrrderrfdrrderrfrwjRrwjRrwrwjRIn fact,第93页/共105页第九十三页,共105页。)
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 湖北省宜昌市部分学校2026-2027学年高二上学期期中历史试卷-答案版
- 广西来宾市部分校2026-2027学年高三上学期期中语文试卷(含答案)
- 人文英语4试题及参考答案详解
- 京东商家运营认证模拟考试题库(附答案解析)
- 产后子宫的变化考试题及答案
- 二十四诗品测试题及详细答案
- 小学科学五年级下册《电铃的能量转化》教学设计
- 初中物理力学摩擦力计算技巧训练试题及答案
- 代县教师招聘试题及答案
- 大学物理光学实验现象数据处理能力训练试卷及答案
- 2026年山西省电子商务师职业技能等级认定实操模拟题(附评分细则)
- 内蒙古赤峰市2026年高三年级11·20模拟考试 英语+答案
- CSCO结直肠癌诊疗指南(2026版)
- 外来入侵物种防控实施方案
- 伤口大小测量与记录临床规范指南-伤口护理精准评估与数字化实践
- PETS公共英语二级大纲词汇(超全)
- 水泥稳定碎石基层监理实施细则
- 2026新教材语文 22.他们那时候多有趣啊 教学课件 统编版语文六年级上册
- 2025深圳市龙华区招聘社区网格员辅助行政职业社区综合治理题库
- GB/T 13237-2026优质碳素结构钢冷轧钢板及钢带
- 国家事业单位招聘2025教育部学生服务与素质发展中心招聘拟录用人员笔试历年参考题库典型考点附带答案详解
评论
0/150
提交评论