版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter2X-1GeometricImageTransform
SpatialTransform2.x.1Fundamentals2.x.1.1SpatialTransformInputimage:f(u,v)Outputimage:g(x,y)g(x,y)=f(u,v)(x,y)=T[(u,v)],2013/9/162.x.1Fundamentals2.x.1.2ForwardMapping (x,y)=(X(u,v),Y(u,v)) example:Zoomout (x,y)=(u/2,v/2) [Programming]2.x.1Fundamentals2.x.1.3InverseMapping (u,v)=(U(x,y),V(x,y))
example:Zoomout (u,v)=(x*2,y*2) [Programming]
2.x.1Fundamentalsexample:Zoomin FM:(x,y)=(u*2,v*2)
IM:(u,v)=(x/2,y/2)
[Programming]2.x.1FundamentalsUsuallyImageProcessing(SpatialTransform)usingIMComputerGraphics(GeometricsRender)usingFM2.x.2AffineTransform2.x.2.1DefinitionofAffineTransformA(x)=L(x)+c2.x.2.2GeneralForm
2.x.2AffineTransform2.x.2AffineTransform2.x.2.3OthersExerciseFlipTransformFlipHorizontalFlipVerticalZoomAt(x0,y0)LocalZooming[Programming]ExerciseFlipVExerciseFlipHExercise(2014.9.22)Byte[,]ZoomAt(byte[,]f,intx0,inty0,floatK)Exercisebyte[,]localZooming(byte[,]f,intx0,inty0,floatR,floatK)Exercisebyte[,]localZooming2(byte[,]f,intx0,inty0,floatR,floatK)CompostedAffineTransformBasicAffineTransformTranslation,Scaling,RotationCompostedAffineTransform eg.ZoomingAtAffineTransformPropertiesCompostedAffineTransformisAffineTransformInverseAffineTransformisAffineTransform2.x.3ImageInterpolation2.x.3.1Background[ProgrammingofZoomin4X4]2.x.3ImageInterpolation2.x.3.2Sampling&Interpolation
Samplingf(X)f[n]f[n]Interpolation2.x.3ImageInterpolation2.x.3.2Sampling&Interpolationf[n]=f(n),f[n]=int(f(n))h(x):InterpolationKernal2.x.3ImageInterpolation2.x.3.2NearestNeighborhoodInterpolation2D:x’=(int)(x+0.5),y’=(int)(y+0.5)2.x.3ImageInterpolation2.x.3.2BilinearInterpolationi<=x<i+1a=x-if(x)=f[i]*(1-a)+f[i+1]*a;2.x.3ImageInterpolation2.x.3.2BilinearInterpolation2D i<=x<i+1,j<=y<j+1, a=x-i,b=y-jf(x,j)=f[i,j]*(1-a)+f[i+1,j]*a;f(x,j+1)=f[i,j+1]*(1-a
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- GB/T 41734.5-2024动物射频识别第5部分:射频识别读写器读取GB/T 20563和GB/T 22334射频识别标签的能力测试程序
- GB/T 44308-2024碳纤维和玻璃纤维组合增强塑料组分含量和孔隙含量的测定
- GB/T 3830-2024软聚氯乙烯压延薄膜和片材
- GB/T 23678-2024供应链监控用集装箱电子箱封应用技术要求
- 高三物理教学总结02
- 重庆市坡地高层民用建筑设计防火规范 DB505031-2004
- 国庆假期安全教育班会教案
- 项目6 网络系统集成工程测试与验收
- 2022-2023学年高二物理竞赛课件:晶体结构
- 2024年德州客运资格证模拟考试
- 土建专业题库测评试题及答案
- 法律职业资格考试客观题(试卷一)2024年自测试题及答案指导
- 自然资源调查监测技能竞赛理论考试题库大全-下(判断题)
- 团员组织关系转接介绍信(样表)
- 医院电子病历系统应用水平分级评价 4级实证材料选择项
- DB65T 3952-2016反恐怖防范设置规范 学校
- 义务教育《道德与法治》课程标准(2022年版)
- 果园生产管理规章制度.doc
- 李燕璇植树问题卡通版5
- 产业园物业管理考核办法及考评表
- 生态复绿水土保持方案[优秀工程方案]
评论
0/150
提交评论