[1]管焱然[],管有庆[]. 基于OpenCV的仿射变换研究与应用[J].计算机技术与发展,2016,26(12):58-63.
 GUAN Yan-ran[],GUAN You-qing[]. Research and Application of Affine Transformation Based on OpenCV[J].,2016,26(12):58-63.
点击复制

 基于OpenCV的仿射变换研究与应用()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
26
期数:
2016年12期
页码:
58-63
栏目:
智能、算法、系统工程
出版日期:
2016-12-10

文章信息/Info

Title:
 Research and Application of Affine Transformation Based on OpenCV
文章编号:
1673-629X(2016)12-0058-06
作者:
管焱然[1]管有庆[2]
1.东华大学;2.南京邮电大学
Author(s):
 GUAN Yan-ran[1]GUAN You-qing[2]
关键词:
 图像处理仿射变换矩阵OpenCV 算法
Keywords:
 image processingaffine transformationmatrixOpenCValgorithm
分类号:
TP31
文献标志码:
A
摘要:
 仿射变换是一种常用的图像几何变换。使用仿射变换矩阵能够方便地描述图像的线性变换以及平移等非线性变换。介绍了仿射变换的数学原理,并借助OpenCV函数库的内部函数对仿射变换的算法进行具体分析。通过在原图像和目标图像上分别找出三个不共线的点,并利用这两组三点间的一一映射构建方程组,并求解得出一个2×3的仿射变换矩阵M;再根据所求得的仿射变换矩阵M,对图像上每一个点进行变换,在这个过程中可采用最近邻插值算法、线性插值算法、三次样条插值算法和兰索斯插值算法进行实现。给出了一个图像实例对仿射变换进行说明。
Abstract:
 Affine transformation is a kind of frequently used geometric image transformation in the field of computer image processing. An affine transformation matrix can be used to describe any linear transformation and one kind of nonlinear transformation. It gives an intro-duction to the mathematical principles of affine transformation and makes an analysis of the algorithms of affine transformation basing on the OpenCV function library. If one image is related to another by an affine transformation,three pairs of corresponding points of the two images are needed to solve for the 2í3 affine transformation matrix M ,which is used to apply the transformation to the source image. A series of interpolation algorithms can be employed such as nearest neighbor interpolation,linear interpolation,cubic spline interpolation and Lanczos interpolation to implement the affine transformation. An example is given concerning affine transformation of an image.

相似文献/References:

[1]李雷 张建民.一种改善的基于支持向量机的边缘检测算子[J].计算机技术与发展,2010,(03):125.
 LI Lei,ZHANG Jian-min.An Improved Edge Detector Using the Support Vector Machines[J].,2010,(12):125.
[2]张艳丽 保文星.粒子群优化算法在图像边缘检测中的研究应用[J].计算机技术与发展,2009,(05):26.
 ZHANG Yan-li,BAO Wen-xing.Research and Application of Image Edge Detection Based on PSO Algorithm[J].,2009,(12):26.
[3]詹金兰 李翠华.模拟实验系统的可视化研究[J].计算机技术与发展,2009,(05):228.
 ZHAN Jin-lan,LI Cui-hua.Visualization Research on Simulation Experiment System[J].,2009,(12):228.
[4]张家栋 张强 霍凯.图像处理在轴承荧光磁粉探伤中的应用研究[J].计算机技术与发展,2009,(08):216.
 ZHANG Jia-dong,ZHANG Qiang,HUO Kai.Study on Application of Image Processing in Bearing Fluorescent Magnetic Detection[J].,2009,(12):216.
[5]王文豪 张亚红 朱全银 单劲松.QR Code二维条形码的图像识别[J].计算机技术与发展,2009,(10):123.
 WANG Wen-hao,ZHANG Ya-hong,ZHU Quan-yin,et al.Image Recognition in 2 - D Bar Code Based on QR Code[J].,2009,(12):123.
[6]李孟歆 吴成东.粗糙集理论在图像处理中的应用[J].计算机技术与发展,2009,(03):208.
 LI Meng-xin,WU Cheng-dong.Rough Set Theory and Its Applications in Image Processing[J].,2009,(12):208.
[7]武彬.一种离焦模糊图像的复原方法[J].计算机技术与发展,2008,(01):74.
 WU Bin.A Method of Defocus Blurred Image Restoration[J].,2008,(12):74.
[8]蒋恩松 肖辉军 孙刘杰 熊清廉.基于机器视觉的套印误差自动检测系统设计[J].计算机技术与发展,2008,(07):173.
 JIANG En-song,XIAO Hui-jun,SUN Liu-jie,et al.Design of Automatic Detecting Printing Registration Deviation System Based on Machine Vision[J].,2008,(12):173.
[9]汪继文 林胜华 沈玉峰 邱剑锋.一种基于各向异性扩散的图像处理方法[J].计算机技术与发展,2008,(08):98.
 WANG Ji-wen,LIN Sheng-hua,SHEN Yu-feng,et al.An Approach for Image Restoration Based on Anisotropic Diffusion[J].,2008,(12):98.
[10]余志强 戎蒙恬 袁丹寿.一种用单端口SRAM构成的FIFO的ASIC设计[J].计算机技术与发展,2008,(09):159.
 YU Zhi-qiang,RONG Meng-tian,YUAN Dan-shou.ASIC Design of an FIFO Involving Single Port SRAM[J].,2008,(12):159.
[11]陈鹏宇[],孙文奇[],赵忠龙[]. 基于机器视觉的印刷质量检测研究[J].计算机技术与发展,2014,24(07):103.
 CHEN Peng-yu[],SUN Wen-qi[],ZHAO Zhong-long[]. rinting Quality Detection Based on Machine Vision[J].,2014,24(12):103.
[12]赵颖辉[][],蒋从锋[][]. 遥感影像的高性能并行处理技术研究[J].计算机技术与发展,2014,24(07):201.
 ZHAO Ying-hui[][],JIANG Cong-feng[][]. Research on High Performance Parallel Processing Technology for Remote Sensing Images[J].,2014,24(12):201.
[13]汤智超,苏琳,何超,等. 导盲机器人的交通标志视觉识别技术研究[J].计算机技术与发展,2014,24(09):23.
 TANG Zhi-chao,SU Lin,HEChao,et al. Research on Traffic Sign Visual Recognition Technology of Guiding Robot[J].,2014,24(12):23.
[14]孙全,刘政怡,吴国栋,等. 基于版面理解的选票软件设计[J].计算机技术与发展,2014,24(11):207.
 SUN Quan,LIU Zheng-yi,WU Guo-dong,et al. Design of Voting Software Based on Layout Understanding[J].,2014,24(12):207.
[15]蒋翠清,孙富亮,吴艿芯. 基于相对欧氏距离的背景差值法视频目标检测[J].计算机技术与发展,2015,25(01):37.
 JIANG Cui-qing,SUN Fu-liang,WU Nai-xin. Video Object Detection of Background Subtraction Method Based on Relative Euclidean Distance[J].,2015,25(12):37.
[16]程欢,杨庚. 地埋成像系统中图像冗余删除算法设计与实现[J].计算机技术与发展,2015,25(03):81.
 CHENG Huan,YANG Geng. Design and Implementation of Image Redundant and Deleting Algorithm in Ground Imaging System[J].,2015,25(12):81.
[17]路游,郭江涛,孟庆鑫. 基于Hausdorff距离的图像边缘检测方法[J].计算机技术与发展,2015,25(08):71.
 LU You,GUO Jiang-tao,MENG Qing-xin. A New Method of Edge Detection Based on Hausdorff Distance[J].,2015,25(12):71.
[18]苑玮琦,陈冰洁. 基于窗口提取的虹膜阳光放射沟检测方法研究[J].计算机技术与发展,2015,25(09):213.
 YUAN Wei-qi,CHEN Bing-jie. Research on Iris Radii Solaris Detection Method Based on Window Extraction[J].,2015,25(12):213.
[19]孙建[],李涛[],李雪丹[]. 基于PAAG的图形图像算法的并行实现[J].计算机技术与发展,2015,25(11):61.
 SUN Jian[],LI Tao[],LI Xue-dan[]. Parallel Implementation of Graphics Rendering and Image Processing Algorithm Based on PAAG[J].,2015,25(12):61.
[20]贺国旗[],陈向奎[],韩泉叶[],等. 一种自动提高图像信噪比的方法[J].计算机技术与发展,2015,25(12):60.
 HE Guo-qi[],CHEN Xiang-kui[],HAN Quan-ye[],et al. A Method of Automatically Improving SNR of Image[J].,2015,25(12):60.

更新日期/Last Update: 2017-02-03