首页 | 官方网站   微博 | 高级检索  
     

基于Catmull-Rom插值算法的二维图像的三维显示
引用本文:叶家鸣,钱萌,程树林.基于Catmull-Rom插值算法的二维图像的三维显示[J].微机发展,2007,17(10):234-236.
作者姓名:叶家鸣  钱萌  程树林
作者单位:安庆师范学院计算机与信息学院 安徽安庆246011
基金项目:安徽省教育厅自然科学基金项目(2005KJ366zc)
摘    要:在数字图像处理领域,有时需要从三维的角度观察图像。文中提出了一种二维图像的三维显示方法:首先利用Catmull-Rom插值算法对原图像进行缩放处理,再利用OpenGL绘制小三角形面片生成二维图像的三维平滑曲面,然后利用光照技术生成二维图像的三维显示效果。实验表明,在对原图像施行Catmull-Rom插值处理之后,图像的三维显示效果比没有施行插值要平滑得多,并且也没有出现马赛克现象,这说明该算法是有效的。

关 键 词:Catmull-Rom插值  光照  三角形面片
文章编号:1673-629X(2007)10-0234-03
修稿时间:2006年12月21

Three-Dimensional Viewing of Two-Dimensional Image Based on Catmull-Rom Interpolation Algorithm
YE Jia-ming,QIAN Meng,CHENG Shu-lin.Three-Dimensional Viewing of Two-Dimensional Image Based on Catmull-Rom Interpolation Algorithm[J].Microcomputer Development,2007,17(10):234-236.
Authors:YE Jia-ming  QIAN Meng  CHENG Shu-lin
Abstract:In the field of digital image processing,sometimes it's necessary to view an image from a three-dimensional(3-D) angle.A method of 3-D viewing of 2D image was introduced in this article.First the original image was scaled with Catmull-Rom interpolation algorithm,then functions were invoked from OpenGL to draw triangle facets to produce smooth 3-D surface of the image,and in the end,OpenGL lighting was used to produce 3-D effect.It was demonstrated by experiment that the result image was much more smoth when the original image was processsed with the algorithm than that was not processed with the algorithm,and the mosaic was not appeared.This proved the algorithm was effective.
Keywords:Catmull-Rom interpolation  lighting  triangle facets
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号