




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公司班组户外活动方案
- 公司立flag活动方案
- 公司清明工会活动方案
- 公司活动中心策划方案
- 公司猜盲盒活动方案
- 公司组织跑步活动方案
- 公司新年服装定制活动方案
- 公司服装大赛活动方案
- 公司组内活动策划方案
- 2025年运动医学与运动训练课程考试试题及答案
- 卫宁软件基层医疗卫生信息系统课件
- GB/Z 42540-2023制药装备密闭性技术指南固体制剂
- 2023年广东初中学业水平考试生物试卷真题(含答案)
- GB/T 6913-2023锅炉用水和冷却水分析方法磷酸盐的测定
- GB/T 20977-2007糕点通则
- GB/T 18926-2008包装容器木构件
- 2023年泉州南安市文化和旅游系统事业单位招聘笔试题库及答案
- 高考日语语法复习之形容词课件
- 监理工作汇报-课件
- 钢卷尺检定证书
- 放到单位档案的个人自传
评论
0/150
提交评论